minor: added bytebuffer method to make apis compatible
This commit is contained in:
parent
992f6c30dc
commit
e228be7943
|
@ -179,6 +179,10 @@ class ByteBuffer
|
|||
end
|
||||
end
|
||||
|
||||
def unpack(args)
|
||||
to_a
|
||||
end
|
||||
|
||||
def to_s
|
||||
if @buf.respond_to? :fast_pack
|
||||
@buf.fast_pack
|
||||
|
|
Loading…
Reference in New Issue