代码搜索:ByteBuffer

找到约 1,360 项符合「ByteBuffer」的源代码

代码结果 1,360
www.eeworm.com/read/202662/15377232

h bytebuffer.h

/* * libjingle * Copyright 2004--2005, Google Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are
www.eeworm.com/read/248559/4469725

svn-base bytebuffer.java.svn-base

/* * $Id$ * * Copyright 1996-2007 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * This program is free software; you can redistribu
www.eeworm.com/read/127767/14337281

txt e158. creating a bytebuffer.txt

A ByteBuffer is a fixed-capacity buffer that holds byte values. This example demonstrates a number of ways to create a ByteBuffer. See also e159 Getting Bytes from a ByteBuffer and e160 Putting Byte
www.eeworm.com/read/322022/13390913

java buffercharview.java

package com.ronsoft.books.nio.buffers; import java.nio.Buffer; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.ByteOrder; /** * Test asCharBuffer view. * * Created May 20
www.eeworm.com/read/322022/13390931

java filehole.java

package com.ronsoft.books.nio.channels; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.io.File; import java.io.RandomAccessFile; import java.io.IOException; /** * Cr
www.eeworm.com/read/347088/11700846

java bufferstream.java

package Commen; import java.nio.ByteBuffer; public class BufferStream { private byte[] buffer; private int readPoint; private int writePoint; boolean accuraty; private int capacity;
www.eeworm.com/read/347088/11701162

java bufferstream.java

package Commen; import java.nio.ByteBuffer; public class BufferStream { private byte[] buffer; private int readPoint; private int writePoint; boolean accuraty; private int ca
www.eeworm.com/read/347088/11701362

java bufferstream.java

package Commen; import java.nio.ByteBuffer; public class BufferStream { private byte[] buffer; private int readPoint; private int writePoint; boolean accuraty; private int capacity;
www.eeworm.com/read/127767/14335804

txt e184. creating a stream on a bytebuffer.txt

This example implements methods for creating an input or output stream on a ByteBuffer. // Obtain a ByteBuffer; see e158 Creating a ByteBuffer. ByteBuffer buf = ByteBuffer.allocate(10);
www.eeworm.com/read/127767/14336124

txt e170. writing to a channel with a bytebuffer.txt

It is necessary to use a ByteBuffer to write to a channel. This example retrieves bytes from an input stream and writes them to a channel using a ByteBuffer. The tricky part of this operation is to re