ArraySerialiser

reverse-enigneering the source

Name | size in B | notes

ndim         | 4               | more than 0, less than MAXDIM
data_offset  | 4               | data offset in bytes, if > 0, reads null bitmap
element_type | sizeof Oid      | cannot be spec_element_type, whatever that is
dim          | 4               | appends to array of dim -- if lbound + dim - 1 < lbound, fail (???)
lBound       | 4               | appends to array of lBound
itemlen      | 4               | if itemlen is < -1 or itemlen > more than buffer remainder
                               | -1 means null (?)
value        | itemlen         | element receiveproc is called

Members

Static functions

addCustomOid
void addCustomOid(Oid typeOid, Oid oid)
Undocumented in source. Be warned that the author may not have intended to support it.
deserialise
T deserialise(const(ubyte)[] bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
enforceSupportedType
void enforceSupportedType()
Undocumented in source. Be warned that the author may not have intended to support it.
ensureExistence
void ensureExistence(Connection c)
Undocumented in source. Be warned that the author may not have intended to support it.
isSupportedType
bool isSupportedType()
Undocumented in source. Be warned that the author may not have intended to support it.
nameForType
string nameForType()
Undocumented in source. Be warned that the author may not have intended to support it.
oidForType
Oid oidForType()
Undocumented in source. Be warned that the author may not have intended to support it.
serialise
Nullable!(ubyte[]) serialise(T val)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

ArrayDimensions
template ArrayDimensions(T)
Undocumented in source.

Meta