Home
last modified time | relevance | path

Searched refs:ToFullArray (Results 1 – 3 of 3) sorted by relevance

/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersFuzzTests.cs36 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.ToFullArray()); in TestNumbers()
38 Assert.ArrayEqual(new byte[] { 1 }, builder.DataBuffer.ToFullArray()); in TestNumbers()
40 Assert.ArrayEqual(new byte[] { 129, 1 }, builder.DataBuffer.ToFullArray()); in TestNumbers()
42 … Assert.ArrayEqual(new byte[] { 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray()); // First pad in TestNumbers()
44 …al(new byte[] { 0, 0, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray()); // Second p… in TestNumbers()
46 …new byte[] { 0xEE, 0xFE, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray()); // no pad in TestNumbers()
48 …204, 252, 0xEE, 0xFE, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray()); // third pad in TestNumbers()
50 …4, 204, 252, 0xEE, 0xFE, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.ToFullArray()); // no pad in TestNumbers()
58 …l(new byte[] { 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11 }, builder.DataBuffer.ToFullArray()); in TestNumbers64()
62 …l(new byte[] { 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11 }, builder.DataBuffer.ToFullArray()); in TestNumbers64()
[all …]
DByteBufferTests.cs313 Assert.ArrayEqual(buffer, uut.ToFullArray()); in ByteBuffer_ToFullArray_MatchesBuffer()
325 Assert.ArrayEqual(buffer, uut.ToFullArray()); in ByteBuffer_ToSizedArray_MatchesBuffer()
/external/flatbuffers/net/FlatBuffers/
DByteBuffer.cs259 public byte[] ToFullArray() in ToFullArray() method in FlatBuffers.ByteBuffer