代码搜索:ByteBuffer
找到约 1,360 项符合「ByteBuffer」的源代码
代码结果 1,360
www.eeworm.com/read/344239/11894546
java viewbuffers.java
//: io/ViewBuffers.java
import java.nio.*;
import static net.mindview.util.Print.*;
public class ViewBuffers {
public static void main(String[] args) {
ByteBuffer bb = ByteBuffer.wrap(
www.eeworm.com/read/344239/11894552
java usingbuffers.java
//: io/UsingBuffers.java
import java.nio.*;
import static net.mindview.util.Print.*;
public class UsingBuffers {
private static void symmetricScramble(CharBuffer buffer){
while(buffer.has
www.eeworm.com/read/344239/11894565
java endians.java
//: io/Endians.java
// Endian differences and data storage.
import java.nio.*;
import java.util.*;
import static net.mindview.util.Print.*;
public class Endians {
public static void main(Str
www.eeworm.com/read/344239/11894569
java channelcopy.java
//: io/ChannelCopy.java
// Copying a file using channels and buffers
// {Args: ChannelCopy.java test.txt}
import java.nio.*;
import java.nio.channels.*;
import java.io.*;
public class ChannelC
www.eeworm.com/read/255273/12092102
java filedes.java
//chp6
//FileDES.java
import java.io.*;
import java.nio.*;
import java.nio.channels.FileChannel;
public class FileDES{
private static final boolean enc=true; //加密
private s
www.eeworm.com/read/150914/12245759
java intbufferdemo.java
//: c12:IntBufferDemo.java
// Manipulating ints in a ByteBuffer with an IntBuffer
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.t
www.eeworm.com/read/150914/12245770
java encodedecode.java
//: c12:EncodeDecode.java
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import java.nio.*;
import java.nio.charset.*;
impo
www.eeworm.com/read/150914/12245771
java buffertotext.java
//: c12:BufferToText.java
// Converting text to and from ByteBuffers
// {Clean: data2.txt}
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in C
www.eeworm.com/read/150914/12245780
java viewbuffers.java
//: c12:ViewBuffers.java
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import java.nio.*;
import com.bruceeckel.simpletest.
www.eeworm.com/read/150914/12245783
java usingbuffers.java
//: c12:UsingBuffers.java
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import java.nio.*;
import com.bruceeckel.simpletest