class Async::IO::BinaryString
Constants
- BINARY
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/async/io/buffer.rb, line 28 def initialize super force_encoding(BINARY) end
Public Instance Methods
<<(string)
click to toggle source
Calls superclass method
# File lib/async/io/buffer.rb, line 34 def << string if string.encoding == BINARY super(string) else super(string.b) end return self end
Also aliased as: concat