ktor-http-cio / io.ktor.http.cio / parsePreamble

parsePreamble

suspend fun parsePreamble(boundaryPrefixed: ByteBuffer, input: ByteReadChannel, output: BytePacketBuilder, limit: Long = Long.MAX_VALUE): Long
Deprecated: This is going to be removed. Use parseMultipart instead.

Parse a multipart preamble

Return
number of bytes copied