1 52 53 package com.go.trove.io; 54 55 import java.io.IOException ; 56 57 64 public interface ByteBuffer extends ByteData { 65 68 public long getBaseByteCount() throws IOException ; 69 70 73 public void append(byte b) throws IOException ; 74 75 78 public void append(byte[] bytes) throws IOException ; 79 80 84 public void append(byte[] bytes, int offset, int length) 85 throws IOException ; 86 87 92 public void appendSurrogate(ByteData s) throws IOException ; 93 94 98 public void addCaptureBuffer(ByteBuffer buffer) throws IOException ; 99 100 103 public void removeCaptureBuffer(ByteBuffer buffer) throws IOException ; 104 } 105 | Popular Tags |