Package gavo :: Package votable :: Module dec_binary
[frames] | no frames]

Module dec_binary

source code

Coding and decoding from binary.

Functions
 
getLinesFor(field)
returns a sequence of python source lines to decode BINARY-encoded values for field.
source code
 
getRowDecoderSource(tableDefinition)
returns the source for a function deserializing a BINARY stream.
source code
 
getGlobals(tableDefinition) source code
Variables
  BINENCBOOL = {'0': False, '1': True, '?': None, 'F': False, 'T...
  __package__ = 'gavo.votable'
Function Details

getRowDecoderSource(tableDefinition)

source code 

returns the source for a function deserializing a BINARY stream.

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


Variables Details

BINENCBOOL

Value:
{'0': False,
 '1': True,
 '?': None,
 'F': False,
 'T': True,
 'f': False,
 't': True}