Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByteString ¶
type ByteString struct {
// contains filtered or unexported fields
}
Wrapper for bytestrings that allows them to be used as keys for a map
func NewByteString ¶
func NewByteString(data []byte) ByteString
func (ByteString) Bytes ¶
func (bs ByteString) Bytes() []byte
func (ByteString) String ¶
func (bs ByteString) String() string
func (*ByteString) UnmarshalCBOR ¶
func (bs *ByteString) UnmarshalCBOR(data []byte) error
Click to show internal directories.
Click to hide internal directories.