Sha256: 0a28f1ba1bb4c87db4b841a481d2a84b54e30207c8d7372b6b2fada392b92494

Contents?: true

Size: 719 Bytes

Versions: 3

Compression:

Stored size: 719 Bytes

Contents

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

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

        include HasLengthAndValue

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