Method: Puppet::Pops::Serialization::Serializer#start_array

Defined in:
lib/puppet/pops/serialization/serializer.rb

#start_array(size) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Write the start of an array.

Parameters:

  • size (Integer)

    the size of the array



51
52
53
# File 'lib/puppet/pops/serialization/serializer.rb', line 51

def start_array(size)
  @writer.write(Extension::ArrayStart.new(size))
end