
16 Dec
2023
16 Dec
'23
6:37 p.m.
Issue #20069 has been updated by pynix (Pynix wang). main use case is deal binary dataļ¼a replacement of String. eg grpc bytes type, crypto key and more. maybe not same as io buffer, so Bytes or Binary is good for class name. ---------------------------------------- Feature #20069: Buffer class in stdlib https://bugs.ruby-lang.org/issues/20069#change-105703 * Author: pynix (Pynix wang) * Status: Open * Priority: Normal ---------------------------------------- ruby use `String` to deal with bytes, this cause error on irb "invalid byte sequence in utf-8" can we get a builtin class like Buffer or Bytes that represent as hex string -- https://bugs.ruby-lang.org/