Is the `Strings` section on the `Direct Buffer` page correct?
yafetn opened this issue · comments
yafetn commented
Hi,
I was reading this section and I'm a little confused by the difference in the putStringAscii
and putStringWithoutLengthAscii
methods as shown. There's a part that says
An example of a putStringWithoutLengthAscii with the same 12 byte ASCII string, with bytes 1 through 11 holding the content:
Should it be ...bytes 0 through 11 holding the content
instead?
Shaun L commented
Yes, I believe that you are correct. I will address this; thank you!
Shaun L commented
An update has been pushed. Thanks again.