go/src/debug/dwarf/buf.go

type buf

type dataFormat

type unknownFormat

func (u unknownFormat) version() int {}

func (u unknownFormat) dwarf64() (bool, bool) {}

func (u unknownFormat) addrsize() int {}

func makeBuf(d *Data, format dataFormat, name string, off Offset, data []byte) buf {}

func (b *buf) uint8() uint8 {}

func (b *buf) bytes(n int) []byte {}

func (b *buf) skip(n int) {}

func (b *buf) string() string {}

func (b *buf) uint16() uint16 {}

func (b *buf) uint24() uint32 {}

func (b *buf) uint32() uint32 {}

func (b *buf) uint64() uint64 {}

// Read a varint, which is 7 bits per byte, little endian.
// the 0x80 bit means read another byte.
func (b *buf) varint() (c uint64, bits uint) {}

// Unsigned int is just a varint.
func (b *buf) uint() uint64 {}

// Signed int is a sign-extended varint.
func (b *buf) int() int64 {}

// Address-sized uint.
func (b *buf) addr() uint64 {}

func (b *buf) unitLength() (length Offset, dwarf64 bool) {}

func (b *buf) error(s string) {}

type DecodeError

func (e DecodeError) Error() string {}