chunk_gifx.java
来自「Mapserver的一个java客户端,包含两个applet支持地图显示。」· Java 代码 · 共 50 行
JAVA
50 行
// Copyright (C) 1998, 1999, 2001 Chris Nokleberg// Please see included LICENSE.TXTpackage com.sixlegs.image.png;import java.io.IOException;final class Chunk_gIFxextends Chunkimplements GifExtension{ private String identifier; private byte[] auth_code; private byte[] data; Chunk_gIFx() { super(gIFx); } protected void readData() throws IOException { identifier = in_data.readString(8, PngImage.ASCII_ENCODING); in_data.skip(8 - identifier.length()); auth_code = new byte[3]; in_data.readFully(auth_code); data = new byte[bytesRemaining()]; in_data.readFully(data); img.data.gifExtensions.addElement(this); } public String getIdentifier() { return identifier; } public byte[] getAuthenticationCode() { return auth_code; } public byte[] getData() { return data; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?