| |
| 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 null 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 null 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 .
|