OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [libjava/] [gnu/] [gcj/] [convert/] [Output_EUCJIS.java] - Blame information for rev 22

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 14 jlechner
/* Copyright (C) 1999, 2003  Free Software Foundation
2
 
3
   This file is part of libgcj.
4
 
5
This software is copyrighted work licensed under the terms of the
6
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
7
details.  */
8
 
9
package gnu.gcj.convert;
10
 
11
/**
12
 * Convert Unicode to EUCJIS (Extended Unix Code for Japan).
13
 * @author Per Bothner <bothner@cygnus.com>
14
 * @date April 1999.
15
 */
16
 
17
public class Output_EUCJIS extends UnicodeToBytes
18
{
19
  public String getName() { return "EUCJIS"; }
20
 
21
  public native int write (char[] inbuffer, int inpos, int inlength);
22
 
23
  public native int write (String str, int inpos, int inlength, char[] work);
24
 
25
  public boolean havePendingBytes()
26
  {
27
    return pending1 >= 0;
28
  }
29
 
30
  int pending1 = -1;
31
  int pending2;
32
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.