ArrayReader
public class ArrayReader
ArrayReader is a wrapper for a byte array whose read(_:)
method can be used as Netstring.Reader
.
See also
Netstring.Reader
-
Initialize
ArrayReader
with a byte array.Declaration
Swift
public init(array: [UInt8])
-
Reader function for
Netstring
parser.Declaration
Swift
public func read(_ n: Int) -> [UInt8]