- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for readBigInteger (0.2 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
} } fun readBoolean(): Boolean { if (bytesLeft != 1L) throw ProtocolException("unexpected length: $bytesLeft at $this") return source.readByte().toInt() != 0 } fun readBigInteger(): BigInteger { if (bytesLeft == 0L) throw ProtocolException("unexpected length: $bytesLeft at $this") val byteArray = source.readByteArray(bytesLeft) return BigInteger(byteArray) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 2L, codec = object : BasicDerAdapter.Codec<BigInteger> { override fun decode(reader: DerReader): BigInteger = reader.readBigInteger() override fun encode( writer: DerWriter, value: BigInteger, ) = writer.writeBigInteger(value) }, ) val BIT_STRING = BasicDerAdapter(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15K bytes - Viewed (0)