Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Jul 14, 2023
1 parent 55c2c31 commit 2054027
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/BaseNbtSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,11 @@ public function read(string $buffer, int &$offset = 0, int $maxDepth = 0) : Tree

/**
* Reads a tag without a header from the buffer and returns it. The tag does not have a name, and the type is not
* specified by the binary data. Only the tag's raw binary value is present.
* specified by the binary data. Only the tag's raw binary value is present. This could be used if the expected root
* type is always the same.
*
* This could be used if the expected root type is always the same, but it's not usually seen in the wild.
* However, this is used in some places in the Minecraft: Bedrock network protocol.
* This format is not usually seen in the wild, but it is used in some places in the Minecraft: Bedrock network
* protocol.
*
* @throws NbtDataException
*/
Expand Down

0 comments on commit 2054027

Please sign in to comment.