C# added BYTEBUFFER_NO_BOUNDS_CHECK #define
authorOli Wilkinson <oli@evolutional.co.uk>
Tue, 15 Dec 2015 00:55:10 +0000 (19:55 -0500)
committerOli Wilkinson <oli@evolutional.co.uk>
Tue, 15 Dec 2015 02:06:29 +0000 (21:06 -0500)
commit4802e8a285e20a1403c6570690ea02813c967f0b
treeb0bd535429ae0346d20fefa1a94c22418a72ca0e
parent2ce5d6c2b664db93fad07c35fd87df8ffb647bb6
C# added BYTEBUFFER_NO_BOUNDS_CHECK #define

Removes the bounds checking on the ByteBuffer Get/Put operations. Can be dangerous when used with UNSAFE_BYTEBUFFER but results in increased performance. Use at your own risk!
net/FlatBuffers/ByteBuffer.cs
tests/FlatBuffers.Test/ByteBufferTests.cs