Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ed1a1940d8
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 18 lines (17 sloc) 0.559 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
namespace BuzzIO
{
    /// <summary>
    /// Defines a base class for output reports. To use output reports, just put the bytes into the raw buffer.
    /// </summary>
    public abstract class OutputReport : Report
    {
        /// <summary>
        /// Construction. Setup the buffer with the correct output report length dictated by the device
        /// </summary>
        /// <param name="oDev">Creating device</param>
        protected OutputReport(HIDDevice oDev)
        {
            SetBuffer(new byte[oDev.OutputReportLength]);
        }
    }
}
Something went wrong with that request. Please try again.