gavo.votable.enc_binary2 module

BINARY2 VOTable encoding.

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

We do not determine any nullvalues any more here.

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

gavo.votable.enc_binary2.getGlobals(tableDefinition)[source]
gavo.votable.enc_binary2.getLinesFor(field)[source]

returns a sequence of python source lines to encode values described by field into tabledata.

gavo.votable.enc_binary2.getPostamble(tableDefinition)[source]
gavo.votable.enc_binary2.getPreamble(tableDefinition)[source]