StreamSeq = object buf: seq[byte] rpos: int wpos: int
func add(v: var StreamSeq; data: openArray[byte]) {....raises: [Defect], tags: [].}
func assign(v: var StreamSeq; buf: openArray[byte]) {....raises: [Defect], tags: [].}
func clear(v: var StreamSeq) {....raises: [Defect], tags: [].}
func consume(v: var StreamSeq; n: int) {....raises: [Defect], tags: [].}
func consumeTo(v: var StreamSeq; buf: var openArray[byte]): int {. ...raises: [Defect], tags: [].}
template commit(v: var StreamSeq; n: int)
template data(v: StreamSeq): openArray[byte]
template len(v: StreamSeq): int
template prepare(v: var StreamSeq; n: int): var openArray[byte]
template toOpenArray(v: StreamSeq; b, e: int): openArray[byte]