BdecodeException

class BdecodeException(val error: BdecodeError, val position: Int) : Exception

Thrown by Bdecode.decode when the input is not valid bencoding.

Constructors

Link copied to clipboard
constructor(error: BdecodeError, position: Int)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
expect open val message: String?
Link copied to clipboard

Byte offset into the buffer where the failure occurred.