Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RBuffer

type RBuffer struct {
	// contains filtered or unexported fields
}

    RBuffer decodes values from a buffer according to the XRootD protocol.

    func NewRBuffer

    func NewRBuffer(data []byte) *RBuffer

    func (*RBuffer) Bytes

    func (r *RBuffer) Bytes() []byte

    func (*RBuffer) Len

    func (r *RBuffer) Len() int

    func (*RBuffer) Pos

    func (r *RBuffer) Pos() int

    func (*RBuffer) ReadBool

    func (r *RBuffer) ReadBool() bool

    func (*RBuffer) ReadBytes

    func (r *RBuffer) ReadBytes(data []byte)

    func (*RBuffer) ReadI32

    func (r *RBuffer) ReadI32() int32

    func (*RBuffer) ReadI64

    func (r *RBuffer) ReadI64() int64

    func (*RBuffer) ReadLen

    func (r *RBuffer) ReadLen() int

    func (*RBuffer) ReadStr

    func (r *RBuffer) ReadStr() string

    func (*RBuffer) ReadU16

    func (r *RBuffer) ReadU16() uint16

    func (*RBuffer) ReadU8

    func (r *RBuffer) ReadU8() uint8

    func (*RBuffer) Skip

    func (r *RBuffer) Skip(n int)

    type WBuffer

    type WBuffer struct {
    	// contains filtered or unexported fields
    }

      WBuffer encodes values to a buffer according to the XRootD protocol.

      func (*WBuffer) Bytes

      func (w *WBuffer) Bytes() []byte

      func (*WBuffer) Next

      func (w *WBuffer) Next(n int)

      func (*WBuffer) WriteBool

      func (w *WBuffer) WriteBool(v bool)

      func (*WBuffer) WriteBytes

      func (w *WBuffer) WriteBytes(vs []byte)

      func (*WBuffer) WriteI32

      func (w *WBuffer) WriteI32(v int32)

      func (*WBuffer) WriteI64

      func (w *WBuffer) WriteI64(v int64)

      func (*WBuffer) WriteLen

      func (w *WBuffer) WriteLen(n int)

      func (*WBuffer) WriteStr

      func (w *WBuffer) WriteStr(str string)

      func (*WBuffer) WriteU16

      func (w *WBuffer) WriteU16(v uint16)

      func (*WBuffer) WriteU8

      func (w *WBuffer) WriteU8(v uint8)

      Source Files