per

package
v0.0.0-...-985a324 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadEnumerates

func ReadEnumerates(r io.Reader) (uint8, error)

func ReadInteger16

func ReadInteger16(r io.Reader) (uint16, error)

func ReadLength

func ReadLength(r io.Reader) (uint16, error)

func WriteChoice

func WriteChoice(choice uint8, w io.Writer)

*

  • @param choice {integer}
  • @returns {type.UInt8} choice per encoded

func WriteInteger

func WriteInteger(n int, w io.Writer)

func WriteInteger16

func WriteInteger16(value uint16, w io.Writer)

func WriteLength

func WriteLength(value int, w io.Writer)

*

  • @param value {raw} value to convert to per format
  • @returns type objects per encoding value

func WriteNumberOfSet

func WriteNumberOfSet(n int, w io.Writer)

func WriteNumericString

func WriteNumericString(s string, minValue int, w io.Writer)

func WriteObjectIdentifier

func WriteObjectIdentifier(oid []byte, w io.Writer)

*

  • @param oid {array} oid to write
  • @returns {type.Component} per encoded object identifier

func WriteOctetStream

func WriteOctetStream(oStr string, minValue int, w io.Writer)

*

  • @param oStr {String}
  • @param minValue {integer} default 0
  • @returns {type.Component} per encoded octet stream

func WritePadding

func WritePadding(length int, w io.Writer)

func WriteSelection

func WriteSelection(selection uint8, w io.Writer)

*

  • @param selection {integer}
  • @returns {type.UInt8} per encoded selection

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL