peekFormat

abstract fun peekFormat(io: IOPlugin, binary: Binary): EnvelopeFormat?

Try to infer specific format from input and return null if the attempt is failed. This method does not return Input into initial state.