Loading wifi/java/android/net/wifi/nan/TlvBufferUtils.java +5 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ import java.nio.BufferOverflowException; import java.nio.ByteOrder; import java.util.Arrays; import java.util.Iterator; import java.util.NoSuchElementException; /** * Utility class to construct and parse byte arrays using the TLV format - Loading Loading @@ -464,6 +465,10 @@ public class TlvBufferUtils { @Override public TlvElement next() { if (!hasNext()) { throw new NoSuchElementException(); } int type = 0; if (mTypeSize == 1) { type = mArray[mOffset]; Loading Loading
wifi/java/android/net/wifi/nan/TlvBufferUtils.java +5 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ import java.nio.BufferOverflowException; import java.nio.ByteOrder; import java.util.Arrays; import java.util.Iterator; import java.util.NoSuchElementException; /** * Utility class to construct and parse byte arrays using the TLV format - Loading Loading @@ -464,6 +465,10 @@ public class TlvBufferUtils { @Override public TlvElement next() { if (!hasNext()) { throw new NoSuchElementException(); } int type = 0; if (mTypeSize == 1) { type = mArray[mOffset]; Loading