Documentation
¶
Index ¶
- func B2Q[T Q](p []byte) T
- func BytesToSequence[T Byteseq](p []byte) T
- func Q2B[T Q](x T) []byte
- func Q2S[T Q](x T) string
- func S2Q[T Q](s string) T
- func SequenceToBytes[T Byteseq](x T) []byte
- func SequenceToString[T Byteseq](x T) string
- func StringToSequence[T Byteseq](s string) T
- func ToBytes[T Byteseq](x T) (p []byte, ok bool)
- func ToString[T Byteseq](x T) (s string, ok bool)
- type Byteseq
- type Q
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToSequence ¶
BytesToSequence makes fast conversion of bytes to sequence.
func SequenceToBytes ¶
SequenceToBytes makes fast conversion of sequence to bytes.
func SequenceToString ¶
SequenceToString makes fast conversion of sequence to string.
func StringToSequence ¶
StringToSequence makes fast conversion of string to sequence.
Types ¶
Click to show internal directories.
Click to hide internal directories.