Binary Stream to transfer binary between a server and a client.
- Support multiple data types
dependencies:
binary_stream: ^1.0.6
Add this code end of pubspec.yaml.
dependency_overrides:
collection: your package version
vector_math: your package version
void main() {
var binaryStream = BinaryStream();
binaryStream.writeInt32(1);
print('Int: ${binaryStream.readInt32()}');
}