testserialization.java

来自「业界著名的tomcat服务器的最新6.0的源代码。」· Java 代码 · 共 25 行

JAVA
25
字号
package org.apache.catalina.tribes.test.io;

import org.apache.catalina.tribes.io.XByteBuffer;
import junit.framework.TestCase;

public class TestSerialization extends TestCase {
    protected void setUp() throws Exception {
        super.setUp();
    }
    
    public void testEmptyArray() throws Exception {
        
    }

    protected void tearDown() throws Exception {
        super.tearDown();
    }
    
    public static void main(String[] args) throws Exception {
        //XByteBuffer.deserialize(new byte[0]);
        XByteBuffer.deserialize(new byte[] {-84, -19, 0, 5, 115, 114, 0, 17, 106});
    }

}

⌨️ 快捷键说明

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