package
1.10.2
Repository: https://github.com/cyrildever/go-utls.git
Documentation: pkg.go.dev

# Functions

ByteArrayToFloat converts the passed byte array to a float64.
ByteArrayToInt converts the passed byte array to a int.
ByteArrayToUint converts the passed byte array into a uint64.
ByteArrayToUint8 converts the passed byte array into a uint8.
Capitalize add an upper case at the beginning of the sentence.
Chunk splits a slice of strings into the number of passed chunks.
ColorMarshal marshals JSON data with default options.
ContainString returns true if the passed slice of strings contains the passed string value.
DateFormat formats the passed time to the Java-notated layout, eg.
DateLayoutJava2Go transforms a Java notation to its Golang equivalent.
EuclideanDivision returns the integer tuple (quotient, remainder) from the division of the past integers.
FindClosest returns the closest number to the target in the passed array of numbers see https://www.geeksforgeeks.org/find-closest-number-array/.
Flatten takes an array of byte array and makes it a byte array.
FloatToByteArray converts the passed float64 into a byte array.
FromHex tries to convert an hexadecimal representation of a value to its corresponding byte array.
IntToByteArray converts the passed integer to a byte array.
IsPointer returns `true` if the passed item is a pointer, not a value.
IsValue returns `true` if the passed item is a value, not a pointer.
Must only returns the byte array from the argument tuple (byte array, error).
NewColorFormatter ...
No description provided by the author
PrettyPrintByte ...
PrettyPrintJSON ...
Retry is a function supposed to be called in a goroutine to execute a callback a number of time with a given time between each repetition.
Reverse write the passed string backwards.
ToHex converts a byte array to its string representation in hexadecimal.
ToUTF8 transforms a encoded string in the passed encoding format to a UTF-8 string NB: For now, it only supports ISO 8859-1, ISO 8859-2, ISO 8859-3, ISO 8859-4, Macintosh and Windows 1252 formats.
Uint8ToByteArray converts the passed uint8 into a byte array.
UintToByteArray converts the passed integer into a byte array.

# Constants

No description provided by the author

# Variables

ISO 8859-1.
ISO 8859-2.
ISO 8859-3.
ISO 8859-4.
Macintosh.
Encoding formats.
Windows 1252.

# Structs

ColorFormatter ...
DivisionByZeroError ...

# Type aliases

RetryCallback ...