Returns an i64 representing a NaiveDateTime
, if
said i64 can be round-tripped back to a NaiveDateTime
.
Number of bytes required by a list of datums. This computes the size that would be required if
the given datums were packed into a list.
Number of bytes required by the datum.
This is used to optimistically pre-allocate buffers for packing rows.
Number of bytes required by a sequence of datums.
Read length
bytes from data
at offset
, updating the
latter. Extend the resulting buffer to a negative N
-byte
twos complement integer by filling the remaining bits with 1.
Read length
bytes from data
at offset
, updating the
latter. Extend the resulting buffer to a positive or zero N
-byte
twos complement integer by filling the remaining bits with 0.
Read length
bytes from data
at offset
, updating the
latter. Extend the resulting buffer to an array of N
bytes by
inserting FILL
in the k most significant bytes, where k = N - length.
Read a datum starting at byte offset
.
Read a data whose length is encoded in the row before its contents.
Read a byte slice starting at byte offset
.
Return the number of bytes these Datums would use if packed as a Row.