per

package
v0.0.0-...-b10d92e Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadChoice

func ReadChoice(r io.Reader) byte

func ReadEnumerated

func ReadEnumerated(r io.Reader) uint8

func ReadInteger

func ReadInteger(r io.Reader) uint32

func ReadInteger16

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

func ReadInteger8

func ReadInteger8(r io.Reader) (length uint8)

func ReadLength

func ReadLength(r io.Reader) int

func ReadNumberOfSet

func ReadNumberOfSet(r io.Reader) int

func ReadObjectIdentifier

func ReadObjectIdentifier(r io.Reader) []byte

func ReadOctetString

func ReadOctetString(r io.Reader, minValue int) []byte

func WriteChoice

func WriteChoice(w io.Writer, choice byte)

func WriteInteger

func WriteInteger(w io.Writer, n uint32)

func WriteInteger16

func WriteInteger16(w io.Writer, n uint16)

func WriteInteger32

func WriteInteger32(w io.Writer, n uint32)

func WriteInteger8

func WriteInteger8(w io.Writer, n uint8)

func WriteLength

func WriteLength(w io.Writer, length int)

func WriteNumberOfSet

func WriteNumberOfSet(w io.Writer, n int)

func WriteNumericString

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

func WriteObjectIdentifier

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

func WriteOctetString

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

func WritePadding

func WritePadding(w io.Writer, padLen int)

func WriteSelection

func WriteSelection(w io.Writer, selection uint8)

Types

This section is empty.

Jump to

Keyboard shortcuts

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