Skip to content

Python implementation of RecordIO Encoding and Decoding for string based based length headers.

Notifications You must be signed in to change notification settings

klueska/python-recordio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python RecordIO

Provides facilities for "Record-IO" encoding of data. "Record-IO" encoding allows one to encode a sequence of variable-length records by prefixing each record with its size in bytes:

5\n
hello
6\n
world!

Note that this currently only supports record lengths encoded as base 10 integer values with newlines as a delimiter. This is to provide better language portability portability: parsing a base 10 integer is simple. Most other "Record-IO" implementations use a fixed-size header of 4 bytes to directly encode an unsigned 32 bit length.

About

Python implementation of RecordIO Encoding and Decoding for string based based length headers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages