Documentation ¶
Index ¶
- type RBuffer
- func (r *RBuffer) Bytes() []byte
- func (r *RBuffer) Len() int
- func (r *RBuffer) Pos() int
- func (r *RBuffer) ReadBool() bool
- func (r *RBuffer) ReadBytes(data []byte)
- func (r *RBuffer) ReadI32() int32
- func (r *RBuffer) ReadI64() int64
- func (r *RBuffer) ReadLen() int
- func (r *RBuffer) ReadStr() string
- func (r *RBuffer) ReadU16() uint16
- func (r *RBuffer) ReadU8() uint8
- func (r *RBuffer) Skip(n int)
- type WBuffer
- func (w *WBuffer) Bytes() []byte
- func (w *WBuffer) Next(n int)
- func (w *WBuffer) WriteBool(v bool)
- func (w *WBuffer) WriteBytes(vs []byte)
- func (w *WBuffer) WriteI32(v int32)
- func (w *WBuffer) WriteI64(v int64)
- func (w *WBuffer) WriteLen(n int)
- func (w *WBuffer) WriteStr(str string)
- func (w *WBuffer) WriteU16(v uint16)
- func (w *WBuffer) WriteU8(v uint8)
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 ¶
type WBuffer ¶
type WBuffer struct {
// contains filtered or unexported fields
}
WBuffer encodes values to a buffer according to the XRootD protocol.
func (*WBuffer) WriteBytes ¶
Click to show internal directories.
Click to hide internal directories.