Class: Python::Pickle::Instructions::ReadonlyBuffer

Inherits:
Python::Pickle::Instruction show all
Defined in:
lib/python/pickle/instructions/readonly_buffer.rb

Overview

Note:

introduced in protocol 5.

Represents a pickle READONLY_BUFFER instruction.

Since:

  • 0.2.0

Instance Attribute Summary

Attributes inherited from Python::Pickle::Instruction

#opcode

Instance Method Summary collapse

Methods inherited from Python::Pickle::Instruction

#==, #inspect, #to_s

Constructor Details

#initializeReadonlyBuffer

Initializes the READONLY_BUFFER instruction.

Since:

  • 0.2.0



18
19
20
# File 'lib/python/pickle/instructions/readonly_buffer.rb', line 18

def initialize
  super(:READONLY_BUFFER)
end