Skip to main content

omnibuf 0.1.0 copy "omnibuf: ^0.1.0" to clipboard
omnibuf: ^0.1.0 copied to clipboard

OmniBuf v0.1 binary wire format for Dart: Prefix-Varint codec, 16 explicit wire types, Field #0 self-describing metadata, lazy Opaque views with in-place wire splicing, package:protobuf integration, d [...]

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate omnibuf

Use it

The package has the following executables:

$ protoc-gen-omnibuf-dart

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add omnibuf

With Flutter:

 $ flutter pub add omnibuf

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  omnibuf: ^0.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:omnibuf/omnibuf.dart';
0
likes
130
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

OmniBuf v0.1 binary wire format for Dart: Prefix-Varint codec, 16 explicit wire types, Field #0 self-describing metadata, lazy Opaque views with in-place wire splicing, package:protobuf integration, declarative class schemas, and protoc-gen-omnibuf-dart code generator.

Homepage
Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

fixnum, protobuf

More

Packages that depend on omnibuf