1 /*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17
18 package com.android.i18n.timezone.internal;
19
20 import java.nio.ByteBuffer;
21
22 /**
23 * A {@link com.android.i18n.timezone.internal.BufferIterator BufferIterator} that wraps a {@link java.nio.ByteBuffer ByteBuffer}.
24 */
25
26 @SuppressWarnings({"unchecked", "deprecation", "all"})
27 public class ByteBufferIterator {
28
ByteBufferIterator(java.nio.ByteBuffer buffer)29 public ByteBufferIterator(java.nio.ByteBuffer buffer) { throw new RuntimeException("Stub!"); }
30
seek(int offset)31 public void seek(int offset) { throw new RuntimeException("Stub!"); }
32
skip(int byteCount)33 public void skip(int byteCount) { throw new RuntimeException("Stub!"); }
34
pos()35 public int pos() { throw new RuntimeException("Stub!"); }
36
readByteArray(byte[] bytes, int arrayOffset, int byteCount)37 public void readByteArray(byte[] bytes, int arrayOffset, int byteCount) { throw new RuntimeException("Stub!"); }
38
readByte()39 public byte readByte() { throw new RuntimeException("Stub!"); }
40
readInt()41 public int readInt() { throw new RuntimeException("Stub!"); }
42
readIntArray(int[] ints, int arrayOffset, int intCount)43 public void readIntArray(int[] ints, int arrayOffset, int intCount) { throw new RuntimeException("Stub!"); }
44
readLongArray(long[] longs, int arrayOffset, int longCount)45 public void readLongArray(long[] longs, int arrayOffset, int longCount) { throw new RuntimeException("Stub!"); }
46
readShort()47 public short readShort() { throw new RuntimeException("Stub!"); }
48 }
49
50