Documentation ¶
Overview ¶
Package leb128 provides encoders and decoders for The Little Endian Base 128 format. The Little Endian Base 128 format is defined in the DWARF v4 standard, section 7.6, page 161 and following.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeSigned ¶
DecodeSigned decodes a signed Little Endian Base 128 represented number.
func DecodeUnsigned ¶
DecodeUnsigned decodes an unsigned Little Endian Base 128 represented number.
func EncodeSigned ¶
func EncodeSigned(out io.ByteWriter, x int64)
EncodeSigned encodes x to the signed Little Endian Base 128 format.
func EncodeUnsigned ¶
func EncodeUnsigned(out io.ByteWriter, x uint64)
EncodeUnsigned encodes x to the unsigned Little Endian Base 128 format.
Types ¶
Click to show internal directories.
Click to hide internal directories.