Skip to main content
Version: 0.12

binary

The binary module handles interacting with the binary/bytes type

Functions

into_bytes(input)

Turns a binary into an array of bytes

Returns an array

len(input)

Returns the number of bytes in abinary

Returns a integer

from_bytes(input)

Turns an array of bytes into a binary

Returns a binary