java.io.DataInputStream.decodeUTF()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(165)

本文整理了Java中java.io.DataInputStream.decodeUTF()方法的一些代码示例,展示了DataInputStream.decodeUTF()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DataInputStream.decodeUTF()方法的具体详情如下:
包路径:java.io.DataInputStream
类名称:DataInputStream
方法名:decodeUTF

DataInputStream.decodeUTF介绍

暂无

代码示例

代码示例来源:origin: robovm/robovm

String decodeUTF(int utfSize) throws IOException {
  return decodeUTF(utfSize, this);
}

代码示例来源:origin: robovm/robovm

public static final String readUTF(DataInput in) throws IOException {
  return decodeUTF(in.readUnsignedShort(), in);
}

代码示例来源:origin: robovm/robovm

public final String readUTF() throws IOException {
  return decodeUTF(readUnsignedShort());
}

代码示例来源:origin: robovm/robovm

/**
 * Read a new String in UTF format from the receiver. Return the string
 * read.
 *
 * @param unshared
 *            read the object unshared
 * @return the string just read.
 *
 * @throws IOException
 *             If an IO exception happened when reading the String.
 */
private Object readNewLongString(boolean unshared) throws IOException {
  long length = input.readLong();
  Object result = input.decodeUTF((int) length);
  if (enableResolve) {
    result = resolveObject(result);
  }
  registerObjectRead(result, nextHandle(), unshared);
  return result;
}

代码示例来源:origin: MobiVM/robovm

String decodeUTF(int utfSize) throws IOException {
  return decodeUTF(utfSize, this);
}

代码示例来源:origin: ibinti/bugvm

String decodeUTF(int utfSize) throws IOException {
  return decodeUTF(utfSize, this);
}

代码示例来源:origin: com.bugvm/bugvm-rt

String decodeUTF(int utfSize) throws IOException {
  return decodeUTF(utfSize, this);
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

String decodeUTF(int utfSize) throws IOException {
  return decodeUTF(utfSize, this);
}

代码示例来源:origin: MobiVM/robovm

public final String readUTF() throws IOException {
  return decodeUTF(readUnsignedShort());
}

代码示例来源:origin: ibinti/bugvm

public final String readUTF() throws IOException {
  return decodeUTF(readUnsignedShort());
}

代码示例来源:origin: com.gluonhq/robovm-rt

public final String readUTF() throws IOException {
  return decodeUTF(readUnsignedShort());
}

代码示例来源:origin: com.jtransc/jtransc-rt

public static String readUTF(DataInput in) throws IOException {
  return decodeUTF(in.readUnsignedShort(), in);
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

public final String readUTF() throws IOException {
  return decodeUTF(readUnsignedShort());
}

代码示例来源:origin: com.bugvm/bugvm-rt

public static final String readUTF(DataInput in) throws IOException {
  return decodeUTF(in.readUnsignedShort(), in);
}

代码示例来源:origin: com.jtransc/jtransc-rt

public final String readUTF() throws IOException {
  return decodeUTF(readUnsignedShort());
}

代码示例来源:origin: com.gluonhq/robovm-rt

public static final String readUTF(DataInput in) throws IOException {
  return decodeUTF(in.readUnsignedShort(), in);
}

代码示例来源:origin: MobiVM/robovm

public static final String readUTF(DataInput in) throws IOException {
  return decodeUTF(in.readUnsignedShort(), in);
}

代码示例来源:origin: FlexoVM/flexovm

public static final String readUTF(DataInput in) throws IOException {
  return decodeUTF(in.readUnsignedShort(), in);
}

代码示例来源:origin: ibinti/bugvm

public static final String readUTF(DataInput in) throws IOException {
  return decodeUTF(in.readUnsignedShort(), in);
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

public static final String readUTF(DataInput in) throws IOException {
  return decodeUTF(in.readUnsignedShort(), in);
}

相关文章