Skip to content

New built-in types #8

Description

@extremeheat

These will reduce the need to resort to coding custom types:

loop - (Array) Keep reading the specified container until end of buffer
loopNT - (Array) Keep reading the specified container until 0x00 (null term)
encapsulated - (Struct) Embedded binary data structure with a length prefix
encapsulatedNT - (Struct) Binary data structure, terminated with 0x00 (null-term) char
restBuffer - (Buffer) Read everything until EOF as a buffer
zigzag32/zigzag64 - (Int) ZigZag encoded VarInts
bitflags - (Struct) Packed booleans in integer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions