mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-05 19:46:55 +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().
|
||||
|
||||
// Alternatively this copies the above data out of the ByteBuffer for you:
|
||||
bytes[] buf = builder.sizedByteArray();
|
||||
byte[] buf = builder.sizedByteArray();
|
||||
~~~
|
||||
</div>
|
||||
<div class="language-csharp">
|
||||
@@ -1513,7 +1513,7 @@ like so:
|
||||
// buf.Length - buf.Position.
|
||||
|
||||
// Alternatively this copies the above data out of the ByteBuffer for you:
|
||||
bytes[] buf = builder.SizedByteArray();
|
||||
byte[] buf = builder.SizedByteArray();
|
||||
~~~
|
||||
</div>
|
||||
<div class="language-go">
|
||||
|
||||
Reference in New Issue
Block a user