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