Skip to content

Commit

Permalink
Update fbe protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
chronoxor committed Aug 19, 2022
1 parent e2f8d14 commit a664499
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions proto/com.chronoxor.fbe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Automatically generated by the Fast Binary Encoding compiler, do not modify!
// https://github.com/chronoxor/FastBinaryEncoding
// Source: FBE
// FBE version: 1.10.0.0
// FBE version: 1.11.0.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
Expand Down Expand Up @@ -1418,7 +1418,7 @@ public override bool Verify()
}

// Get the bytes value
public override void Get(out MemoryStream value) { Get(out value, new MemoryStream(0)); }
public override void Get(out MemoryStream value) { Get(out value, new MemoryStream()); }
public override void Get(out MemoryStream value, MemoryStream defaults)
{
Debug.Assert((defaults != null), "Invalid default bytes value!");
Expand Down Expand Up @@ -1466,7 +1466,7 @@ public override void Set(MemoryStream value)

Write(FBEOffset, fbeBytesOffset);
Write(fbeBytesOffset, fbeBytesSize);
Write(fbeBytesOffset + 4, value.GetBuffer());
Write(fbeBytesOffset + 4, value.GetBuffer(), 0, fbeBytesSize);
}
}

Expand Down
2 changes: 1 addition & 1 deletion proto/com.chronoxor.simple.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Automatically generated by the Fast Binary Encoding compiler, do not modify!
// https://github.com/chronoxor/FastBinaryEncoding
// Source: simple.fbe
// FBE version: 1.10.0.0
// FBE version: 1.11.0.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
Expand Down

0 comments on commit a664499

Please sign in to comment.