An open API service indexing awesome lists of open source software.

https://github.com/sookcha/bytes_string

Manipulate bytestring on Python, without hassle.
https://github.com/sookcha/bytes_string

byte bytearray

Last synced: 7 months ago
JSON representation

Manipulate bytestring on Python, without hassle.

Awesome Lists containing this project

README

          

# bytes_string
Manipulate bytestring on Python, without hassle.

## Usage

bytes = BytesString(64)

offset = 0
bytes.add_integer(100, offset)

offset += 4
bytes.add_integer(100, offset)

offset += 4
bytes.add_integer(0, offset)

bytes.add_string("Good", offset + 1, "ASCII")
offset += BytesString

print(bytes.get_bytearray())