Skip to content

Wishlist #19

@dktapps

Description

@dktapps
  • Add functions to pack types to string without creating a ByteBufferWriter and vice versa. These would probably look like LE::packUnsignedInt(int $value) : string and LE::unpackUnsignedInt(string $bytes) : int
  • Add an equivalent to BinaryStream->feof() to ByteBufferReader
  • Add an equivalent to BinaryStream->getRemaining() to ByteBufferReader
  • Equivalents for Binary::sign*() and Binary::unsign*() (mostly needed for NBT)
  • Equivalents for Binary::flip*Endianness() (mostly needed for color code weirdness in BedrockProtocol)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions