Sha256: d5444df03aac5939b9c3b182eb93c4b820a8d5a37228e40538350aca9d8a1e96
Contents?: true
Size: 736 Bytes
Versions: 3
Compression:
Stored size: 736 Bytes
Contents
require 'python/pickle/instruction' require 'python/pickle/instructions/has_length_and_value' module Python module Pickle module Instructions # # Represents the `SHORT_BINBYTES` instruction. # # @note introduces in protocol 3. # class ShortBinBytes < Instruction include HasLengthAndValue # # Initializes the `SHORT_BINBYTES` instruction. # # @param [Integer] length # The length of the `SHORT_BINBYTES` value. # # @param [String] value # The `SHORT_BINBYTES` instruction's value. # def initialize(length,value) super(:SHORT_BINBYTES,length,value) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems