Documentation ¶
Index ¶
- func ReadChoice(r io.Reader) uint8
- func ReadEnumerates(r io.Reader) (uint8, error)
- func ReadInteger(r io.Reader) uint32
- func ReadInteger16(r io.Reader) (uint16, error)
- func ReadLength(r io.Reader) (uint16, error)
- func ReadNumberOfSet(r io.Reader) uint8
- func ReadObjectIdentifier(r io.Reader, oid []byte) bool
- func ReadOctetStream(r io.Reader, s string, min int) bool
- func WriteChoice(choice uint8, w io.Writer)
- func WriteInteger(n int, w io.Writer)
- func WriteInteger16(value uint16, w io.Writer)
- func WriteLength(value int, w io.Writer)
- func WriteNumberOfSet(n int, w io.Writer)
- func WriteNumericString(s string, minValue int, w io.Writer)
- func WriteObjectIdentifier(oid []byte, w io.Writer)
- func WriteOctetStream(oStr string, minValue int, w io.Writer)
- func WritePadding(length int, w io.Writer)
- func WriteSelection(selection uint8, w io.Writer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadChoice ¶
func ReadInteger ¶
func ReadNumberOfSet ¶
func WriteInteger ¶
func WriteInteger16 ¶
func WriteLength ¶
*
- @param value {raw} value to convert to per format
- @returns type objects per encoding value
func WriteNumberOfSet ¶
func WriteObjectIdentifier ¶
*
- @param oid {array} oid to write
- @returns {type.Component} per encoded object identifier
func WriteOctetStream ¶
*
- @param oStr {String}
- @param minValue {integer} default 0
- @returns {type.Component} per encoded octet stream
func WritePadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.