extended scalar mutator support

This commit is contained in:
Maor Itzkovitch
2015-08-01 19:07:10 +03:00
parent 81c2b185ef
commit e24afd838a
12 changed files with 87 additions and 47 deletions

View File

@@ -139,6 +139,12 @@ namespace FlatBuffers
_pos = offset;
}
// this method exists in order to conform with Java ByteBuffer standards
public void Put(int offset, byte value)
{
PutByte(offset, value);
}
#if UNSAFE_BYTEBUFFER
// Unsafe but more efficient versions of Put*.
public void PutShort(int offset, short value)