hep: go-hep.org/x/hep/xrootd/internal/xrdenc Index | Files

package xrdenc

import "go-hep.org/x/hep/xrootd/internal/xrdenc"

Index

Package Files

xrdenc.go

type RBuffer Uses

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

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

func NewRBuffer Uses

func NewRBuffer(data []byte) *RBuffer

func (*RBuffer) Bytes Uses

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

func (*RBuffer) Len Uses

func (r *RBuffer) Len() int

func (*RBuffer) Pos Uses

func (r *RBuffer) Pos() int

func (*RBuffer) ReadBool Uses

func (r *RBuffer) ReadBool() bool

func (*RBuffer) ReadBytes Uses

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

func (*RBuffer) ReadI32 Uses

func (r *RBuffer) ReadI32() int32

func (*RBuffer) ReadI64 Uses

func (r *RBuffer) ReadI64() int64

func (*RBuffer) ReadLen Uses

func (r *RBuffer) ReadLen() int

func (*RBuffer) ReadStr Uses

func (r *RBuffer) ReadStr() string

func (*RBuffer) ReadU16 Uses

func (r *RBuffer) ReadU16() uint16

func (*RBuffer) ReadU8 Uses

func (r *RBuffer) ReadU8() uint8

func (*RBuffer) Skip Uses

func (r *RBuffer) Skip(n int)

type WBuffer Uses

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

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

func (*WBuffer) Bytes Uses

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

func (*WBuffer) Next Uses

func (w *WBuffer) Next(n int)

func (*WBuffer) WriteBool Uses

func (w *WBuffer) WriteBool(v bool)

func (*WBuffer) WriteBytes Uses

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

func (*WBuffer) WriteI32 Uses

func (w *WBuffer) WriteI32(v int32)

func (*WBuffer) WriteI64 Uses

func (w *WBuffer) WriteI64(v int64)

func (*WBuffer) WriteLen Uses

func (w *WBuffer) WriteLen(n int)

func (*WBuffer) WriteStr Uses

func (w *WBuffer) WriteStr(str string)

func (*WBuffer) WriteU16 Uses

func (w *WBuffer) WriteU16(v uint16)

func (*WBuffer) WriteU8 Uses

func (w *WBuffer) WriteU8(v uint8)

Package xrdenc imports 1 packages (graph) and is imported by 31 packages. Updated 2018-08-02. Refresh now. Tools for package owners.