class BinData::Uint8Array

the stream as possible.
instructs the array to read as much data from
:read_until
May only have a value of ‘:eof`. This parameter
:initial_length

The initial length of the array.
an object. These params are:
Parameters may be provided at initialisation to control the behaviour of
== Parameters
obj.collect { |x| x.chr }.join #=> “abcde”<br>obj #=> 99
obj.read(“abcdefg”) #=> [97, 98, 99, 100, 101]
obj = BinData::Uint8Array.new(initial_length: 5)
require ‘bindata’
of ‘BinData::Array.new(:type => :uint8)`.
bytes (Uint8). It is a faster and more memory efficient version
Uint8Array is a specialised type of array that only contains

def read_and_return_value(io)

def read_and_return_value(io)
  if has_parameter?(:initial_length)
    data = io.readbytes(eval_parameter(:initial_length))
  else
    data = io.read_all_bytes
  end
  data.unpack("C*")
end

def sensible_default

def sensible_default
  []
end

def value_to_binary_string(val)

def value_to_binary_string(val)
  val.pack("C*")
end