Documentation
¶
Index ¶
- Constants
- func DecodeUnsigned(signed byte) int16
- func DecodeUnsignedFromInt16(signed int16) int
- func EncodeUnsigned(positive int16) byte
- func EncodeUnsignedFromInt(positive int) int16
- type ByteData
- func (c *ByteData) CheckCStringMax(st string, max int) *Exception.Exception
- func (c *ByteData) CheckCStringMinMax(String string, min int, max int) *Exception.Exception
- func (c *ByteData) CheckDate(dateStr string) (err *Exception.Exception)
- func (c *ByteData) CheckStringMax(st string, max int) *Exception.Exception
- func (c *ByteData) CheckStringMaxEncoding(st string, max int, enc Data.Encoding) *Exception.Exception
- func (c *ByteData) CheckStringMinMax(String string, min int, max int) *Exception.Exception
- func (c *ByteData) CheckStringMinMaxEncoding(String string, min int, max int, enc Data.Encoding) *Exception.Exception
- func (c *ByteData) Construct()
- func (c *ByteData) SetRealReference(real interface{})
- type ByteDataList
- func (c *ByteDataList) AddValue(val IByteData) *Exception.Exception
- func (c *ByteDataList) Construct()
- func (c *ByteDataList) GetCount() int
- func (c *ByteDataList) GetData() (*Utils.ByteBuffer, *Exception.Exception)
- func (c *ByteDataList) GetValue(index int) IByteData
- func (c *ByteDataList) ResetValues()
- func (c *ByteDataList) SetData(buffer *Utils.ByteBuffer) (err *Exception.Exception)
- type IByteData
- type IByteDataList
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func DecodeUnsigned ¶
func DecodeUnsignedFromInt16 ¶
func EncodeUnsigned ¶
func EncodeUnsignedFromInt ¶
Types ¶
type ByteData ¶
type ByteData struct {
LibraryCheckDateFormat bool
This interface{}
}
func (*ByteData) CheckCStringMax ¶
func (*ByteData) CheckCStringMinMax ¶
func (*ByteData) CheckStringMax ¶
func (*ByteData) CheckStringMaxEncoding ¶
func (*ByteData) CheckStringMinMax ¶
func (*ByteData) CheckStringMinMaxEncoding ¶
func (*ByteData) SetRealReference ¶
func (c *ByteData) SetRealReference(real interface{})
type ByteDataList ¶
func NewByteDataList ¶
func NewByteDataList() *ByteDataList
func NewByteDataListWithSize ¶
func NewByteDataListWithSize(max int, lengthOfSize int) (*ByteDataList, error)
func (*ByteDataList) Construct ¶
func (c *ByteDataList) Construct()
func (*ByteDataList) GetCount ¶
func (c *ByteDataList) GetCount() int
func (*ByteDataList) GetData ¶
func (c *ByteDataList) GetData() (*Utils.ByteBuffer, *Exception.Exception)
func (*ByteDataList) GetValue ¶
func (c *ByteDataList) GetValue(index int) IByteData
func (*ByteDataList) ResetValues ¶
func (c *ByteDataList) ResetValues()
func (*ByteDataList) SetData ¶
func (c *ByteDataList) SetData(buffer *Utils.ByteBuffer) (err *Exception.Exception)
type IByteData ¶
type IByteData interface {
SetData(*Utils.ByteBuffer) *Exception.Exception
GetData() (*Utils.ByteBuffer, *Exception.Exception)
}
type IByteDataList ¶
type IByteDataList interface {
CreateValue() IByteData
}
Click to show internal directories.
Click to hide internal directories.