Sha256: ec8ec6623030d4349c47d80a8d12c43903513a28805af698ceba83f323a12934

Contents?: true

Size: 748 Bytes

Versions: 3

Compression:

Stored size: 748 Bytes

Contents

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

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

        include HasLengthAndValue

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