add some methods

https://github.com/node-modules/byte/issues/12
ok, 改回去