add some methods

https://github.com/node-modules/byte/issues/12