AK.F1.Timing.Server.IO.ByteBuffer.ByteBuffer C# (CSharp) Method

ByteBuffer() public method

Initialises new instance of the AK.F1.Timing.Server.IO.ByteBuffer class and specifies the initial buffer capacity.
/// Thrown when is not positive. ///
public ByteBuffer ( int initialCapacity ) : System
initialCapacity int The initial buffer cpacity.
return System
        public ByteBuffer(int initialCapacity)
        {
            Guard.InRange(initialCapacity > 0, "initialCapacity");

            _buffer = new byte[initialCapacity];
        }