add FFI stuff back to bytestring