Sha256: c453c34326feddbdfce98ad1599df05c8f0777c6e091975cec2d0920c869c06e

Contents?: true

Size: 707 Bytes

Versions: 3

Compression:

Stored size: 707 Bytes

Contents

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

module Python
  module Pickle
    module Instructions
      #
      # Represents the `BINBYTES8` instruction.
      #
      # @note introduces in protocol 4.
      #
      class BinBytes8 < Instruction

        include HasLengthAndValue

        #
        # Initializes the `BINBYTES8` instruction.
        #
        # @param [Integer] length
        #   The length of the `BINBYTES8` value.
        #
        # @param [String] value
        #   The `BINBYTES8` instruction's value.
        #
        def initialize(length,value)
          super(:BINBYTES8,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/bin_bytes8.rb
python-pickle-0.1.1 lib/python/pickle/instructions/bin_bytes8.rb
python-pickle-0.1.0 lib/python/pickle/instructions/bin_bytes8.rb