📄 null.java
字号:
/* * Java Network Programming, Second Edition * Merlin Hughes, Michael Shoffner, Derek Hamner * Manning Publications Company; ISBN 188477749X * * http://nitric.com/jnp/ * * Copyright (c) 1997-1999 Merlin Hughes, Michael Shoffner, Derek Hamner; * all rights reserved; see license.txt for details. */package record;import java.io.*;import DNSRR;import DNSInputStream;public class Null extends DNSRR { private byte[] data; private String text; protected void decode (DNSInputStream dnsIn) throws IOException { data = new byte[dnsIn.available ()]; dnsIn.read (data); text = new String (data, "latin1"); } public byte[] getNullData () { byte[] copy = new byte[data.length]; System.arraycopy (data, 0, copy, 0, data.length); return copy; } public String toString () { return getRRName () + "\tnull data = [" + text + ']'; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -