[ruby-cvs:68843] normal:r61662 (trunk): net/protocol: use binary string buffers

normal at ruby-lang.org normal at ruby-lang.org
Mon Jan 8 09:34:42 JST 2018


normal	2018-01-08 09:34:42 +0900 (Mon, 08 Jan 2018)

  New Revision: 61662

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61662

  Log:
    net/protocol: use binary string buffers
    
    Not an encoding expert, but this seems necessary for the next
    change.  All of the IO#read, IO#read_nonblock and related
    methods will return a binary string when given a length
    argument; so anything appended to these buffers via <<
    will be binary.

  Modified files:
    trunk/lib/net/protocol.rb


More information about the ruby-cvs mailing list