public int read_nil() { int arity = 0; int tag = read1skip_version(); switch (tag) { case OtpExternal.nilTag: arity = 0; break; default: throw new OtpErlangDecodeException("Not valid nil tag: " + tag); } return arity; }