Sha256: 22146406a9fef573162759b36a3292c0674e0ab47f0cf01a8531ff6d5cfde4d4

Contents?: true

Size: 691 Bytes

Versions: 3

Compression:

Stored size: 691 Bytes

Contents

require 'python/pickle/instruction'
require 'python/pickle/instructions/has_length_and_value'

module Python
  module Pickle
    module Instructions
      #
      # Represents the `LONG4` instruction.
      #
      # @note introduces in protocol 1.
      #
      class Long4 < Instruction

        include HasLengthAndValue

        #
        # Initializes the `LONG4` instruction.
        #
        # @param [Integer] length
        #   The length of the `LONG4` value in bytes.
        #
        # @param [Long4] value
        #   The `LONG4` instruction's value.
        #
        def initialize(length,value)
          super(:LONG4,length,value)
        end

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
python-pickle-0.2.0 lib/python/pickle/instructions/long4.rb
python-pickle-0.1.1 lib/python/pickle/instructions/long4.rb
python-pickle-0.1.0 lib/python/pickle/instructions/long4.rb