001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package edu.wpi.first.hal.simulation; 006 007/** Interface for simulation buffer callbacks. */ 008public interface BufferCallback { 009 /** 010 * Simulation buffer callback function. 011 * 012 * @param name Buffer name. 013 * @param buffer Buffer. 014 * @param count Buffer size. 015 */ 016 void callback(String name, byte[] buffer, int count); 017}