mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-19 13:03:04 +00:00
begin to correct C# bytebuffer behavior
This commit is contained in:
@@ -17,7 +17,7 @@ public sealed class Vec3 : Struct {
|
||||
public double Test1 { get { return bb.GetDouble(bb_pos + 16); } }
|
||||
public void MutateTest1(double test1) { bb.PutDouble(bb_pos + 16, test1); }
|
||||
public Color Test2 { get { return (Color)bb.GetSbyte(bb_pos + 24); } }
|
||||
public void MutateTest2(sbyte test2) { bb.PutSbyte(bb_pos + 24, test2); }
|
||||
public void MutateTest2(Color test2) { bb.PutSbyte(bb_pos + 24, (sbyte)test2); }
|
||||
public Test Test3 { get { return GetTest3(new Test()); } }
|
||||
public Test GetTest3(Test obj) { return obj.__init(bb_pos + 26, bb); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user