MCPcopy Create free account
hub / github.com/ReadyTalk/avian / expectToken

Method expectToken

classpath/java/io/ObjectInputStream.java:249–255  ·  view source on GitHub ↗
(int token)

Source from the content-addressed store, hash-verified

247 }
248
249 private void expectToken(int token) throws IOException {
250 int c = rawByte();
251 if (c != token) {
252 throw new UnsupportedOperationException("Unexpected token: 0x"
253 + Integer.toHexString(c));
254 }
255 }
256
257 private void field(Field field, Object o)
258 throws IOException, IllegalArgumentException, IllegalAccessException,

Callers 2

readObjectMethod · 0.95
classDescMethod · 0.95

Calls 2

rawByteMethod · 0.95
toHexStringMethod · 0.95

Tested by

no test coverage detected