| Decode decodes src into decodedLen(src.length) bytes
returning the actual number of bytes written to dst .
Decode expects that src contains only hexadecimal characters and that src
has even length.
If the input is malformed, Decode returns the number of bytes decoded before
the error.
|
| DecodeString returns the bytes represented by the hexadecimal string s .
DecodeString expects that src contains only hexadecimal characters and that
src has even length.
If the input is malformed, DecodeString will throws an error.
|
| Encode encodes src into encodedLen(src.length) bytes of dst .
As a convenience, it returns the number of bytes written to dst
but this value is always encodedLen(src.length) .
Encode implements hexadecimal encoding.
|
| EncodeToString returns the hexadecimal encoding of src .
|
| |
| Csv parse helper to manipulate data.
Provides an auto/custom mapper for columns and parse function
for columns and rows.
|
| |
| Parses content as single YAML document.
|
| Encode an integer x into b , and return the number of bytes used. Data-type defaults to int64 .
Returns 0 if b is too short for the data-type given in o .
|
| Encode a number x into b , and return the number of bytes used. Data-type defaults to int32 .
Returns 0 if b is too short for the data-type given in o .
|
| Reads an integer from r , comsuming sizeof(o.dataType) bytes. Data-type defaults to int64 .
|
| Reads a number from r , comsuming sizeof(o.dataType) bytes. Data-type defaults to int32 .
|
| Returns the number of bytes required to store the given data-type.
|
| |
| Decode an integer from b , and return it as a bigint . Data-type defaults to int64 .
Returns EOF if b is too short for the data-type given in o .
|
| Decode a number from b , and return it as a number . Data-type defaults to int32 .
Returns EOF if b is too short for the data-type given in o .
|
| Writes an integer x to w . Data-type defaults to int64 .
|
| Writes a number x to w . Data-type defaults to int32 .
|
| Serializes object as a YAML document.
|