gavo.votable.dec_binary2 module

BINARY2 VOTable decoding

BINARY2 is like BINARY, except every record is preceded by a mask which columns are NULL.

Sorry for gratuituously peeking into the guts of dec_binary here. But well, it’s family.

gavo.votable.dec_binary2.getGlobals(tableDefinition)[source]
gavo.votable.dec_binary2.getRowDecoderSource(tableDefinition)[source]

returns the source for a function deserializing a BINARY stream.

tableDefinition is a VOTable.TABLE instance. The function returned expects a file-like object.