Versions in this module Expand all Collapse all v1 v1.0.4 Jul 2, 2021 Changes in this version + var ErrorInsufficientBytesLeft = errors.New("not enough bytes left until buffer limit to complete this operation") + type Reader interface + ByteOrder func() binary.ByteOrder + BytesLeftUntilLimit func() int64 + IsImplicit func() bool + IsLimitExhausted func() bool + Peek func(n int) ([]byte, error) + PopLimit func() + PushLimit func(n int64) error + ReadFloat32 func() (float32, error) + ReadFloat64 func() (float64, error) + ReadInt16 func() (int16, error) + ReadInt32 func() (int32, error) + ReadString func(n uint32) (string, error) + ReadUInt16 func() (uint16, error) + ReadUInt32 func() (uint32, error) + ReadUInt8 func() (uint8, error) + SetCodingSystem func(cs charset.CodingSystem) + SetTransferSyntax func(bo binary.ByteOrder, implicit bool) + Skip func(n int64) error + func NewReader(in *bufio.Reader, bo binary.ByteOrder, limit int64) (Reader, error) + type Writer struct + func NewWriter(out io.Writer, bo binary.ByteOrder, implicit bool) Writer + func (w *Writer) GetTransferSyntax() (binary.ByteOrder, bool) + func (w *Writer) SetTransferSyntax(bo binary.ByteOrder, implicit bool) + func (w *Writer) WriteByte(v byte) error + func (w *Writer) WriteBytes(v []byte) error + func (w *Writer) WriteFloat32(v float32) error + func (w *Writer) WriteFloat64(v float64) error + func (w *Writer) WriteString(v string) error + func (w *Writer) WriteUInt16(v uint16) error + func (w *Writer) WriteUInt32(v uint32) error + func (w *Writer) WriteZeros(len int) error