Class: Python::Pickle::Instructions::ShortBinString
- Inherits:
-
Python::Pickle::Instruction
- Object
- Python::Pickle::Instruction
- Python::Pickle::Instructions::ShortBinString
- Includes:
- HasLengthAndValue
- Defined in:
- lib/python/pickle/instructions/short_bin_string.rb
Overview
Note:
introduces in protocol 1.
Represents the SHORT_BINSTRING
instruction.
Instance Attribute Summary
Attributes included from HasLengthAndValue
Attributes inherited from Python::Pickle::Instruction
Instance Method Summary collapse
-
#initialize(length, value) ⇒ ShortBinString
constructor
Initializes the
SHORT_BINSTRING
instruction.
Methods included from HasLengthAndValue
Methods inherited from Python::Pickle::Instruction
Constructor Details
#initialize(length, value) ⇒ ShortBinString
Initializes the SHORT_BINSTRING
instruction.
25 26 27 |
# File 'lib/python/pickle/instructions/short_bin_string.rb', line 25 def initialize(length,value) super(:SHORT_BINSTRING,length,value) end |