com.esotericsoftware.kryo.io.Output.writeChar()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(3.5k)|赞(0)|评价(0)|浏览(88)

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

Output.writeChar介绍

[英]Writes a 2 byte char. Uses BIG_ENDIAN byte order.
[中]写入一个2字节字符。使用BIG_ENDIAN字节顺序。

代码示例

代码示例来源:origin: com.esotericsoftware/kryo

/** Bulk output of a char array. */
public void writeChars (char[] object) throws KryoException {
  for (int i = 0, n = object.length; i < n; i++)
    writeChar(object[i]);
}

代码示例来源:origin: com.esotericsoftware.kryo/kryo

/** Bulk output of a char array. */
public void writeChars (char[] object) throws KryoException {
  for (int i = 0, n = object.length; i < n; i++)
    writeChar(object[i]);
}

代码示例来源:origin: com.esotericsoftware/kryo-shaded

/** Bulk output of a char array. */
public void writeChars (char[] object) throws KryoException {
  for (int i = 0, n = object.length; i < n; i++)
    writeChar(object[i]);
}

代码示例来源:origin: com.esotericsoftware/kryo

public void writeChar (int v) throws IOException {
  output.writeChar((char)v);
}

代码示例来源:origin: svn2github/kryo

/** Bulk output of a char array. */
public void writeChars (char[] object) throws KryoException {
  for (int i = 0, n = object.length; i < n; i++)
    writeChar(object[i]);
}

代码示例来源:origin: com.esotericsoftware/kryo

public void write (Kryo kryo, Output output, Character object) {
  output.writeChar(object);
}

代码示例来源:origin: com.esotericsoftware/kryo-shaded

public void write (Kryo kryo, Output output, Character object) {
  output.writeChar(object);
}

代码示例来源:origin: com.esotericsoftware.kryo/kryo

public void write (Kryo kryo, Output output, Character object) {
  output.writeChar(object);
}

代码示例来源:origin: com.esotericsoftware/kryo-shaded

public void writeChar (int v) throws IOException {
  output.writeChar((char)v);
}

代码示例来源:origin: org.apache.giraph/giraph-core

@Override
public void writeChar(int val)  throws IOException {
 output.writeChar((char) val);
}

代码示例来源:origin: com.esotericsoftware.kryo/kryo

public void writeChar (int v) throws IOException {
  output.writeChar((char)v);
}

代码示例来源:origin: com.esotericsoftware/kryo

public void write (Output output, Object object) {
  output.writeChar(access.getChar(object, accessIndex));
}

代码示例来源:origin: com.esotericsoftware.kryo/kryo

public void write (Output output, Object object) {
  output.writeChar(access.getChar(object, accessIndex));
}

代码示例来源:origin: com.esotericsoftware/kryo-shaded

public void write (Output output, Object object) {
  try {
    output.writeChar(field.getChar(object));
  } catch (Exception e) {
    KryoException ex = new KryoException(e);
    ex.addTrace(this + " (" + type.getName() + ")");
    throw ex;
  }
}

代码示例来源:origin: com.esotericsoftware/kryo

public void write (Output output, Object object) {
  try {
    output.writeChar(field.getChar(object));
  } catch (Exception e) {
    KryoException ex = new KryoException(e);
    ex.addTrace(this + " (" + type.getName() + ")");
    throw ex;
  }
}

代码示例来源:origin: com.esotericsoftware.kryo/kryo

public void write (Output output, Object object) {
  output.writeChar(unsafe().getChar(object, offset));
}

代码示例来源:origin: com.esotericsoftware/kryo-shaded

public void write (Output output, Object object) {
  output.writeChar(unsafe().getChar(object, offset));
}

代码示例来源:origin: svn2github/kryo

public void write (Output output, Object object) {
  output.writeChar(unsafe().getChar(object, offset));
}

代码示例来源:origin: com.esotericsoftware/kryo

public void write (Output output, Object object) {
  output.writeChar(unsafe().getChar(object, offset));
}

代码示例来源:origin: com.esotericsoftware.kryo/kryo

public void write (Output output, Object object) {
  try {
    output.writeChar(field.getChar(object));
  } catch (Exception e) {
    KryoException ex = new KryoException(e);
    ex.addTrace(this + " (" + type.getName() + ")");
    throw ex;
  }
}

相关文章