ktor-http-cio / io.ktor.http.cio / parseBoundary

parseBoundary

fun parseBoundary(contentType: CharSequence): ByteBuffer
Deprecated: This is going to become internal. Use parseMultipart instead or file a ticket explaining why do you need this function.

Parse multipart boundary encoded in contentType header value

Return
a buffer containing CRLF, prefix '--' and boundary bytes