mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 04:41:36 +00:00
Fixed typo in Java/C# tutorial.
Change-Id: I956b27f37b11988e67d0403a596c0569eacbfc2a
This commit is contained in:
@@ -1501,7 +1501,7 @@ like so:
|
|||||||
// The number of bytes is buf.remaining().
|
// The number of bytes is buf.remaining().
|
||||||
|
|
||||||
// Alternatively this copies the above data out of the ByteBuffer for you:
|
// Alternatively this copies the above data out of the ByteBuffer for you:
|
||||||
bytes[] buf = builder.sizedByteArray();
|
byte[] buf = builder.sizedByteArray();
|
||||||
~~~
|
~~~
|
||||||
</div>
|
</div>
|
||||||
<div class="language-csharp">
|
<div class="language-csharp">
|
||||||
@@ -1513,7 +1513,7 @@ like so:
|
|||||||
// buf.Length - buf.Position.
|
// buf.Length - buf.Position.
|
||||||
|
|
||||||
// Alternatively this copies the above data out of the ByteBuffer for you:
|
// Alternatively this copies the above data out of the ByteBuffer for you:
|
||||||
bytes[] buf = builder.SizedByteArray();
|
byte[] buf = builder.SizedByteArray();
|
||||||
~~~
|
~~~
|
||||||
</div>
|
</div>
|
||||||
<div class="language-go">
|
<div class="language-go">
|
||||||
|
|||||||
Reference in New Issue
Block a user