Skip to content

A stream reader and writer written in Python 3 compatible with .NET's BinaryReader and BinaryWriter classes but with configurable endianness.

Notifications You must be signed in to change notification settings

GoobyCorp/StreamIO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

StreamIO

This is a stream reader and writer written in Python 3 compatible with .NET's BinaryReader and BinaryWriter classes but with configurable endianness.

This library is able to write these data types:

  • UInt8 / Int8 / byte
  • UInt16 / Int16 / ushort / short
  • UInt32 / Int32 / int / uint / long / ulong
  • UInt64 / Int64 / longlong / ulonglong
  • Float32 / float / single
  • Float64 / double
  • Google protobuf's varint
  • C-style strings
  • 7-bit int prepended strings (BinaryReader and BinaryWriter compatible!)
  • ctypes structs (Structure and BigEndianStructure)

About

A stream reader and writer written in Python 3 compatible with .NET's BinaryReader and BinaryWriter classes but with configurable endianness.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages