Commit 1aa3ee21 authored by pjulien's avatar pjulien

Clarify documentation based on review comments

parent 9d8ae1b0
...@@ -368,7 +368,8 @@ public class FlatBufferBuilder { ...@@ -368,7 +368,8 @@ public class FlatBufferBuilder {
/// @endcond /// @endcond
/** /**
* Encode the string `s` in the buffer using UTF-8. * Encode the string `s` in the buffer using UTF-8. If {@code s} is
* already a {@link CharBuffer}, this method is allocation free.
* *
* @param s The string to encode. * @param s The string to encode.
* @return The offset in the buffer where the encoded string starts. * @return The offset in the buffer where the encoded string starts.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment