本文整理了Java中java.io.ObjectInputStream.readUnsignedShort()
方法的一些代码示例,展示了ObjectInputStream.readUnsignedShort()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ObjectInputStream.readUnsignedShort()
方法的具体详情如下:
包路径:java.io.ObjectInputStream
类名称:ObjectInputStream
方法名:readUnsignedShort
[英]Reads an unsigned short (16 bit) from the source stream.
[中]从源流中读取一个无符号短(16位)。
代码示例来源:origin: redisson/redisson
@Override
public int readUnsignedShort() throws IOException {
return wrapped.readUnsignedShort();
}
代码示例来源:origin: apache/ignite
/** {@inheritDoc} */
@Override public int readUnsignedShort() throws IOException {
return ois.readUnsignedShort();
}
代码示例来源:origin: apache/ignite
/** {@inheritDoc} */
@Override public int readUnsignedShort() throws IOException {
return ois.readUnsignedShort();
}
代码示例来源:origin: wildfly/wildfly
/** {@inheritDoc} */
public int readUnsignedShort() throws IOException {
return ois.readUnsignedShort();
}
代码示例来源:origin: RuedigerMoeller/fast-serialization
@Override
public int readUnsignedShort() throws IOException {
return wrapped.readUnsignedShort();
}
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
int utfBytes = in.readUnsignedShort();
if (utfBytes == 0)
majorVersionNum = in.readUnsignedShort();
minorVersionNum = in.readUnsignedShort();
代码示例来源:origin: org.jboss.marshalling/jboss-marshalling
/** {@inheritDoc} */
public int readUnsignedShort() throws IOException {
return ois.readUnsignedShort();
}
代码示例来源:origin: org.apache.ignite/ignite-core
/** {@inheritDoc} */
@Override public int readUnsignedShort() throws IOException {
return ois.readUnsignedShort();
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
/** {@inheritDoc} */
public int readUnsignedShort() throws IOException {
return ois.readUnsignedShort();
}
代码示例来源:origin: org.apache.ignite/ignite-core
/** {@inheritDoc} */
@Override public int readUnsignedShort() throws IOException {
return ois.readUnsignedShort();
}
代码示例来源:origin: org.cojen/dirmi
public int readUnsignedShort() throws IOException {
return mIn.readUnsignedShort();
}
代码示例来源:origin: org.jboss.marshalling/jboss-marshalling-osgi
/** {@inheritDoc} */
public int readUnsignedShort() throws IOException {
return ois.readUnsignedShort();
}
代码示例来源:origin: jboss-remoting/jboss-marshalling
/** {@inheritDoc} */
public int readUnsignedShort() throws IOException {
return ois.readUnsignedShort();
}
代码示例来源:origin: babyfish-ct/babyfish
@Override
public int readUnsignedShort() throws IOException {
return this.raw.readUnsignedShort();
}
代码示例来源:origin: jboss-remoting/jboss-marshalling
/** {@inheritDoc} */
public int readUnsignedShort() throws IOException {
return ois.readUnsignedShort();
}
代码示例来源:origin: dcm4che/dcm4che-core
private void readObject(ObjectInputStream s) throws IOException,
ClassNotFoundException {
s.defaultReadObject();
tag = s.readInt();
vr = VR.valueOf(s.readUnsignedShort());
bigEndian = s.readBoolean();
int n = s.readInt();
items = new ArrayList<Object>(n);
for (int i = 0; i < n; ++i) {
items.add(s.readObject());
}
}
代码示例来源:origin: dcm4che/dcm4che-core
private void readObject(ObjectInputStream s)
throws IOException, ClassNotFoundException {
s.defaultReadObject();
tag = s.readInt();
vr = VR.valueOf(s.readUnsignedShort());
bigEndian = s.readBoolean();
int len = s.readInt();
if (len != 0) {
value = new byte[len];
s.readFully(value);
} else {
value = NULL_VALUE;
}
}
代码示例来源:origin: dcm4che/dcm4che-core
private void readObject(ObjectInputStream is) throws IOException,
ClassNotFoundException {
is.defaultReadObject();
privateCreator = (String) is.readObject();
int size = is.readInt();
table = new IntHashtable<VR>(size);
for (int i = 0, tag, code; i < size; ++i) {
tag = is.readInt();
code = is.readUnsignedShort();
table.put(tag, VR.valueOf(code));
}
}
代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans
int utfBytes = in.readUnsignedShort();
if (utfBytes == 0)
majorVersionNum = in.readUnsignedShort();
minorVersionNum = in.readUnsignedShort();
代码示例来源:origin: com.github.pjfanning/xmlbeans
int utfBytes = in.readUnsignedShort();
if (utfBytes == 0)
majorVersionNum = in.readUnsignedShort();
minorVersionNum = in.readUnsignedShort();
内容来源于网络,如有侵权,请联系作者删除!