Sha256: 7f9f9742356685157a7c5a4ead11bdb141c285fc696ec968c60bc1ff3baee5cf

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

module HTTPX
  class Buffer
    extend Forwardable
    
    include _ToS
    include _ToStr

    @buffer: String

    attr_reader limit: Integer

    def full?: () -> bool
    def shift!: (Integer) -> void

    # delegated
    def <<: (string data) -> void
    def empty?: () -> bool
    def bytesize: () -> Integer
    def clear: () -> void
    def replace: (string) -> void

    private

    def initialize: (Integer limit) -> untyped
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
httpx-0.16.1 sig/buffer.rbs
httpx-0.16.0 sig/buffer.rbs