Versions in this module Expand all Collapse all v0 v0.12.1 Oct 23, 2015 Changes in this version + func ElementSizeExceeded(field string, size, limit int) error + type AppendWriter []byte + func (w *AppendWriter) Write(bs []byte) (int, error) + type Reader struct + func NewReader(r io.Reader) *Reader + func (r *Reader) Error() error + func (r *Reader) ReadBool() bool + func (r *Reader) ReadBytes() []byte + func (r *Reader) ReadBytesInto(dst []byte) []byte + func (r *Reader) ReadBytesMax(max int) []byte + func (r *Reader) ReadBytesMaxInto(max int, dst []byte) []byte + func (r *Reader) ReadRaw(bs []byte) (int, error) + func (r *Reader) ReadString() string + func (r *Reader) ReadStringMax(max int) string + func (r *Reader) ReadUint16() uint16 + func (r *Reader) ReadUint32() uint32 + func (r *Reader) ReadUint64() uint64 + func (r *Reader) ReadUint8() uint8 + type Writer struct + func NewWriter(w io.Writer) *Writer + func (w *Writer) Error() error + func (w *Writer) Tot() int + func (w *Writer) WriteBool(v bool) (int, error) + func (w *Writer) WriteBytes(bs []byte) (int, error) + func (w *Writer) WriteRaw(bs []byte) (int, error) + func (w *Writer) WriteString(s string) (int, error) + func (w *Writer) WriteUint16(v uint16) (int, error) + func (w *Writer) WriteUint32(v uint32) (int, error) + func (w *Writer) WriteUint64(v uint64) (int, error) + func (w *Writer) WriteUint8(v uint8) (int, error) + type XDRError struct + func (e XDRError) Error() string + func (e XDRError) IsEOF() bool