org.apache.sshd.common.util.buffer.Buffer.putChars()方法的使用及代码示例

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

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

Buffer.putChars介绍

暂无

代码示例

代码示例来源:origin: org.apache.sshd/sshd-osgi

public void putAndWipeChars(char[] chars, int offset, int len, Charset charset) {
  putChars(chars, offset, len, charset);
  for (int pos = offset, index = 0; index < len; index++, pos++) {
    chars[pos] = '\0';
  }
}

代码示例来源:origin: org.apache.sshd/sshd-common

public void putAndWipeChars(char[] chars, int offset, int len, Charset charset) {
  putChars(chars, offset, len, charset);
  for (int pos = offset, index = 0; index < len; index++, pos++) {
    chars[pos] = '\0';
  }
}

代码示例来源:origin: org.apache.sshd/sshd-common

public void putChars(char[] chars, int offset, int len) {
  putChars(chars, offset, len, StandardCharsets.UTF_8);
}

代码示例来源:origin: org.apache.sshd/sshd-osgi

public void putChars(char[] chars, int offset, int len) {
  putChars(chars, offset, len, StandardCharsets.UTF_8);
}

代码示例来源:origin: org.apache.sshd/sshd-osgi

public void putChars(char[] chars, Charset charset) {
  putChars(chars, 0, GenericUtils.length(chars), charset);
}

代码示例来源:origin: org.apache.sshd/sshd-common

public void putChars(char[] chars) {
  putChars(chars, 0, GenericUtils.length(chars));
}

代码示例来源:origin: org.apache.sshd/sshd-common

public void putChars(char[] chars, Charset charset) {
  putChars(chars, 0, GenericUtils.length(chars), charset);
}

代码示例来源:origin: org.apache.sshd/sshd-osgi

public void putChars(char[] chars) {
  putChars(chars, 0, GenericUtils.length(chars));
}

相关文章