output_sjis.java

来自「gcc的JAVA模块的源代码」· Java 代码 · 共 32 行

JAVA
32
字号
/* Copyright (C) 1999, 2003  Free Software Foundation   This file is part of libgcj.This software is copyrighted work licensed under the terms of theLibgcj License.  Please consult the file "LIBGCJ_LICENSE" fordetails.  */package gnu.gcj.convert;/** * Convert Unicode to SJIS (Shift JIS, used on Japanese MS-Windows). * @author Per Bothner <bothner@cygnus.com> * @date April 1999. */public class Output_SJIS extends UnicodeToBytes{  public String getName() { return "SJIS"; }  public native int write (char[] inbuffer, int inpos, int inlength);  public native int write (String str, int inpos, int inlength, char[] work);  public boolean havePendingBytes()  {    return pending >= 0;  }  int pending = -1;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?