LoginSignup
0
0

More than 5 years have passed since last update.

NULL終端されていない文字列を readUTFBytes() できるか?

Posted at

結論:length指定を適切にやればできる。

勝手にNULLまでAS側が見に行ったような気がしたけど、気のせいだった。
ネットワークのパケット設計してて、微妙に悩んだ(昔うっすらハマった記憶があった)ので、メモ。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0