package
0.0.0-20250306135128-cf59a2d124e0
Repository: https://github.com/paypal/hera.git
Documentation: pkg.go.dev

# Functions

NewNetstring creates a Netstring from the reader, reading exactly as many bytes as necessary.
NewNetstringEmbedded embedds a set of Netstrings into a netstring.
NewNetstringFrom creates a Netstring from command and Payload.
NewNetstringReader creates a Reader, that maintains the state for embedded Netstrings.
SubNetstrings parses the embedded Netstrings.

# Constants

CodeSubCommand is a special command used to define that the payload contains multiple netstrings.

# Structs

Netstring is a netstring packed, which consists of a command plus a payload.
Reader decodes netstrings from a buffer.