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