add write methods to NiceBuffer
add write methods to NiceBuffer

`NiceBuffer#write` should be optimized to work with
https://nodejs.org/api/buffer.html#buffer_buf_write_string_offset_length
_encoding
but needs testing before it is implemented

kylestev/jvm.js,kylestev/js-bytecode-core