Lines Matching defs:byteCount
304 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
309 int r = super.read(buffer, byteOffset, byteCount);
341 public long skip(long byteCount) throws IOException {
342 return Streams.skipByReading(this, byteCount);
356 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
359 i = super.read(buffer, byteOffset, byteCount);
420 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {
423 if (byteCount > length) {
424 byteCount = (int) length;
427 int count = sharedRaf.read(buffer, byteOffset, byteCount);
437 @Override public long skip(long byteCount) throws IOException {
438 if (byteCount > endOffset - offset) {
439 byteCount = endOffset - offset;
441 offset += byteCount;
442 return byteCount;