FlatBuffers.ByteBuffer.Put C# (CSharp) Method

Put() public method

public Put ( int offset, byte value ) : void
offset int
value byte
return void
        public void Put(int offset, byte value)
        {
            PutByte(offset, value);
        }

Usage Example

Example #1
0
 /// <summary>
 /// Puts an array of type T into this builder at the
 /// current offset
 /// </summary>
 /// <typeparam name="T">The type of the input data </typeparam>
 /// <param name="x">The array to copy data from</param>
 public void Put <T>(T[] x)
     where T : struct
 {
     _space = _bb.Put(_space, x);
 }