dpq.serialisation

Undocumented in source.

Members

Functions

fromBytes
T fromBytes(const(ubyte)[] bytes, size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
fromBytes
Nullable!T fromBytes(const(ubyte)[] bytes, size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
fromBytesImpl
T fromBytesImpl(const(ubyte)[] bytes, size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
isAnyNull
bool isAnyNull(T val)
oidForType
Type oidForType()
Undocumented in source. Be warned that the author may not have intended to support it.
serialiser
SerialiserAttribute!T serialiser()
Undocumented in source. Be warned that the author may not have intended to support it.
toBytes
Nullable!(ubyte[]) toBytes(T val)

Converts the given type to an ubyte[], as PostgreSQL expects it. Ignores any Nullable specifiers and Typedefs.

Structs

SerialiserAttribute
struct SerialiserAttribute(alias T)

Templates

SerialiserFor
template SerialiserFor(T)
Undocumented in source.
SerialiserFor
template SerialiserFor(alias T)
Undocumented in source.
typeOid
template typeOid(T)
Undocumented in source.

Meta