Remove unecessary allocation
Fix ByteString::as_slice