Documentation
¶
Overview ¶
Package framing implements Game Protocol 1's canonical unsigned-LEB128 stream frames. It does not decode or authorize Protobuf messages.
Index ¶
Constants ¶
View Source
const ( MaximumGameplayFrame = uint32(1 << 20) MaximumResourceFrame = uint32(4 << 20) )
Variables ¶
View Source
var ( ErrEmptyFrame = errors.New("game protocol frame is empty") ErrFrameTooLarge = errors.New("game protocol frame exceeds the role limit") ErrLengthOverflow = errors.New("game protocol frame length overflows uint32") ErrNonCanonicalSize = errors.New("game protocol frame length is not canonical") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.