Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /* ************************************************************************
 #
 #  DivConq
 #
 #  http://divconq.com/
 #
 #  Copyright:
 #    Copyright 2014 eTimeline, LLC. All rights reserved.
 #
#  License:
#    See the license.txt file in the project's top-level directory for details.
#  Authors:
#    * Andy White
************************************************************************ */
package divconq.io;
public class ByteBufferOutputStream extends OutputStream {
	protected ByteBuffer buf = null;
		this. = buf;
	}
	public synchronized void write(int bthrows IOException {
		.put((byteb);
	}
	public synchronized void write(byte[] bytesint offint len)
			throws IOException {
		.put(bytesofflen);
	}
New to GrepCode? Check out our FAQ X