module HTTP2
  class FrameBuffer
    attr_reader bytesize: Integer

    @buffer: Array[data_frame]

    def <<: (data_frame frame) -> void

    def empty?: () -> bool

    def retrieve: (Integer) -> data_frame?
  end
end