Sha256: 35f2eeee3a86c4a009f8ef5eba649facc786f67d0245cd6d9ec4ceae72d8fb8a

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

require 'python/pickle/instruction'

module Python
  module Pickle
    module Instructions
      #
      # Represents a pickle `NEXT_BUFFER` instruction.
      #
      # @note introduced in protocol 5.
      #
      # @since 0.2.0
      #
      class NextBuffer < Instruction

        #
        # Initializes the `NEXT_BUFFER` instruction.
        #
        def initialize
          super(:NEXT_BUFFER)
        end

      end

      # The `NEXT_BUFFER` instruction.
      #
      # @since 0.2.0
      NEXT_BUFFER = NextBuffer.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
python-pickle-0.2.0 lib/python/pickle/instructions/next_buffer.rb