Documentation
¶
Index ¶
- type Buf
- type Byte
- func (r *Byte) Copy(b interface{}) Buf
- func (r *Byte) Data(out ...interface{}) interface{}
- func (r *Byte) Elem(e int) interface{}
- func (r *Byte) Error() string
- func (r *Byte) Free() Buf
- func (r *Byte) Freeze() (S string)
- func (r *Byte) GetCoding() string
- func (r *Byte) Len() int
- func (r *Byte) ListCodings() []string
- func (r *Byte) Null() Buf
- func (r *Byte) SetCoding(s string) coding.Coding
- func (r *Byte) SetElem(e int, val interface{}) arr.Array
- func (r *Byte) SetStatus(s string) status.Status
- func (r *Byte) SetStatusIf(err error) status.Status
- func (r *Byte) String() (S string)
- func (r *Byte) Thaw(s string) interface{}
- func (r *Byte) UnsetStatus() status.Status
- type Bytes
- func (r *Bytes) Copy(b interface{}) Buf
- func (r *Bytes) Data(out ...interface{}) (R interface{})
- func (r *Bytes) Elem(e int) interface{}
- func (r *Bytes) Error() string
- func (r *Bytes) Free() Buf
- func (r *Bytes) Freeze() (S string)
- func (r *Bytes) GetCoding() string
- func (r *Bytes) Len() int
- func (r *Bytes) ListCodings() []string
- func (r *Bytes) Null() Buf
- func (r *Bytes) SetCoding(s string) coding.Coding
- func (r *Bytes) SetElem(e int, val interface{}) arr.Array
- func (r *Bytes) SetStatus(s string) status.Status
- func (r *Bytes) SetStatusIf(err error) status.Status
- func (r *Bytes) String() (S string)
- func (r *Bytes) Thaw(s string) interface{}
- func (r *Bytes) UnsetStatus() status.Status
- type Secure
- func (r *Secure) Copy(b interface{}) Buf
- func (r *Secure) Data(out ...interface{}) interface{}
- func (r *Secure) Elem(e int) interface{}
- func (r *Secure) Error() string
- func (r *Secure) Free() Buf
- func (r *Secure) Freeze() (S string)
- func (r *Secure) GetCoding() string
- func (r *Secure) Len() int
- func (r *Secure) ListCodings() []string
- func (r *Secure) MarshalJSON() ([]byte, error)
- func (r *Secure) Null() Buf
- func (r *Secure) SetCoding(s string) coding.Coding
- func (r *Secure) SetElem(e int, val interface{}) arr.Array
- func (r *Secure) SetStatus(s string) status.Status
- func (r *Secure) SetStatusIf(err error) status.Status
- func (r *Secure) String() (S string)
- func (r *Secure) Thaw(s string) interface{}
- func (r *Secure) UnsetStatus() status.Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Byte ¶
Byte is a simple buffer that just stores one byte
func (*Byte) Data ¶
func (r *Byte) Data(out ...interface{}) interface{}
Data returns the content of the buffer
func (*Byte) Freeze ¶
Freeze writes the current data structure into a string that format as content of a JSON struct node
func (*Byte) SetStatusIf ¶
SetStatusIf sets an error from a standard error interface variable if it is set
func (*Byte) UnsetStatus ¶
UnsetStatus emptys the error state
type Bytes ¶
Bytes is a simple buffer for slices of bytes and can ingest almost any other kind of data if one were so inclined.
func (*Bytes) Data ¶
func (r *Bytes) Data(out ...interface{}) (R interface{})
Data returns the buffer as *[]byte and also loads a pointer passed, copying for integers and referencing for buffers
func (*Bytes) Freeze ¶
Freeze writes the current data structure into a string that format as content of a JSON struct node
func (*Bytes) SetStatusIf ¶
SetStatusIf sets an error from a standard error interface variable if it is set
func (*Bytes) UnsetStatus ¶
UnsetStatus emptys the error state
type Secure ¶
type Secure struct { Buf *[]byte Status string Coding string // contains filtered or unexported fields }
Secure is a simple buffer for slices of bytes and can ingest almost any other kind of data if one were so inclined.
func (*Secure) Data ¶
func (r *Secure) Data(out ...interface{}) interface{}
Data returns the content of the buffer
func (*Secure) Freeze ¶
Freeze writes the current data structure into a string that format as content of a JSON struct node
func (*Secure) MarshalJSON ¶
MarshalJSON renders the data as JSON
func (*Secure) SetStatusIf ¶
SetStatusIf sets an error from a standard error interface variable if it is set
func (*Secure) UnsetStatus ¶
UnsetStatus emptys the error state