ktor-io / io.ktor.utils.io.core / ByteReadPacket / closeSource

closeSource

protected fun closeSource(): Unit

Overrides AbstractInput.closeSource

Should close the underlying bytes source. Could do nothing or throw exceptions.