implement ByteBuffer for go