Module: Y::Lib0::Buffer

Defined in:
lib/y/lib0/buffer.rb

Class Method Summary collapse

Class Method Details

.create_uint8_array_view_from_buffer(enumerable, offset, size) ⇒ Object



6
7
8
# File 'lib/y/lib0/buffer.rb', line 6

def self.create_uint8_array_view_from_buffer(enumerable, offset, size)
  TypedArray.new(enumerable, offset, size)
end