@ensdomains/buffer

0.1.1 • Public • Published

Buffer

Build Status License

A library for working with mutable byte buffers in Solidity.

Byte buffers are mutable and expandable, and provide a variety of primitives for writing to them. At any time you can fetch a bytes object containing the current contents of the buffer. The bytes object should not be stored between operations, as it may change due to resizing of the buffer.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

Buffer uses npm to manage dependencies, therefore the installation process is kept simple:

npm install

Running tests

Buffer uses truffle for its ethereum development environment. All tests can be run using truffle:

truffle test

To run linting, use solium:

solium --dir ./contracts

Including Buffer in your project

Installation

npm install buffer --save

Built With

  • Truffle - Ethereum development environment

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the BSD 2-clause "Simplified" License - see the LICENSE file for details

Readme

Keywords

none

Package Sidebar

Install

npm i @ensdomains/buffer

Weekly Downloads

3,954

Version

0.1.1

License

BSD-2-Clause

Unpacked Size

2.1 MB

Total Files

32

Last publish

Collaborators

  • davidchu
  • taytems
  • makoto_inoue
  • decanus
  • nickjohnson
  • jefflau
  • mdt.
  • leeondamiky