GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Searching for packages
  • Package scoring and pub points
  • Using packages
  • Developing packages and plugins
  • Publishing a package
  • Using packages

This view

  • Original page
  • New address

GeezerVison is showing pub.dev — buffer | Dart package

buffer 1.2.3 copy "buffer: ^1.2.3" to clipboard
buffer: ^1.2.3 copied to clipboard

Published 2 years ago • verified publisheragilord.com
SDKDartFlutter
PlatformAndroidiOSLinuxmacOSwebWindows
19
→

Metadata

Utility functions and classes to work with byte buffers and streams efficiently, to read and write binary data formats.

More...

  • Readme
  • Changelog
  • Example
  • Installing
  • Versions
  • Scores

Buffer - Dart library for byte buffers and streams. #

Pub

Utility functions and classes to work with byte buffers and streams efficiently, to read and write binary data formats.

Examples #

Here are some examples of how you can use the buffer package:

Writing to a ByteDataWriter and reading from a ByteDataReader

This example demonstrates how to write unsigned integers of different sizes to a ByteDataWriter and then read them back using a ByteDataReader.

final writer = ByteDataWriter();
writer.writeUint8(255);
writer.writeUint16(65535);
writer.writeUint32(4294967295);

final reader = ByteDataReader();
reader.add(writer.toBytes());
print(reader.readUint8()); // Output: 255
print(reader.readUint16()); // Output: 65535
print(reader.readUint32()); // Output: 4294967295
19
likes
150
points
786k
downloads

Documentation

API reference

Publisher

verified publisheragilord.com

Weekly Downloads

Metadata

Utility functions and classes to work with byte buffers and streams efficiently, to read and write binary data formats.

Repository (GitHub)
View/report issues

Topics

#bytes #stream #protocol #server #client

License

BSD-3-Clause (license)

More

Packages that depend on buffer

← Metadata

19
likes
150
points
786k
downloads

Documentation

API reference

Publisher

verified publisheragilord.com

Weekly Downloads

Metadata

Utility functions and classes to work with byte buffers and streams efficiently, to read and write binary data formats.

Repository (GitHub)
View/report issues

Topics

#bytes #stream #protocol #server #client

License

BSD-3-Clause (license)

More

Packages that depend on buffer

Back

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.