Bytestype to bytebuffer

For hyena, we have to be able to use `BytesType.decodeBytes` without a Ruby runtime.