package
22.1.0-beta.3.x+incompatible
Repository: https://github.com/cockroachdb/cockroachdb-parser.git
Documentation: pkg.go.dev

# Functions

BytesEncodeFormatFromString converts a string into a BytesEncodeFormat.
DecodeRawBytesToByteArray converts raw bytes to a SQL-level byte array according to the encoding specification in "be".
DecodeRawBytesToByteArrayAuto detects which format to use with DecodeRawBytesToByteArray().
EncodeByteArrayToRawBytes converts a SQL-level byte array into raw bytes according to the encoding specification in "be".
EncodeLocaleName writes the locale identifier in s to buf.
LocaleNamesAreEqual checks for equality of two locale names.
NormalizeLocaleName returns a normalized locale identifier based on s.

# Constants

BytesEncodeBase64 uses base64 encoding.
BytesEncodeEscape uses the escaped format: e'abc\n'::BYTES::STRING -> 'abc\012'.
BytesEncodeHex uses the hex format: e'abc\n'::BYTES::STRING -> '\x61626312'.

# Variables

No description provided by the author
No description provided by the author

# Type aliases

BytesEncodeFormat is the configuration for bytes to string conversions.