java.nio.ByteBuffer.protectedArrayOffset()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(5.6k)|赞(0)|评价(0)|浏览(147)

本文整理了Java中java.nio.ByteBuffer.protectedArrayOffset()方法的一些代码示例,展示了ByteBuffer.protectedArrayOffset()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ByteBuffer.protectedArrayOffset()方法的具体详情如下:
包路径:java.nio.ByteBuffer
类名称:ByteBuffer
方法名:protectedArrayOffset

ByteBuffer.protectedArrayOffset介绍

[英]Child class implements this method to realize arrayOffset().
[中]子类实现此方法以实现arrayOffset()。

代码示例

代码示例来源:origin: libgdx/libgdx

/** Returns the offset of the byte array which this buffer is based on, if there is one.
 * <p>
 * The offset is the index of the array which corresponds to the zero position of the buffer.
 * </p>
 * 
 * @return the offset of the byte array which this buffer is based on.
 * @exception ReadOnlyBufferException if this buffer is based on a read-only array.
 * @exception UnsupportedOperationException if this buffer is not based on an array.
 * @since Android 1.0 */
public final int arrayOffset () {
  return protectedArrayOffset();
}

代码示例来源:origin: libgdx/libgdx

/** Returns the offset of the byte array which this buffer is based on, if there is one.
 * <p>
 * The offset is the index of the array which corresponds to the zero position of the buffer.
 * </p>
 * 
 * @return the offset of the byte array which this buffer is based on.
 * @exception ReadOnlyBufferException if this buffer is based on a read-only array.
 * @exception UnsupportedOperationException if this buffer is not based on an array.
 * @since Android 1.0 */
public final int arrayOffset () {
  return protectedArrayOffset();
}

代码示例来源:origin: robovm/robovm

/**
 * Returns the offset of the byte array which this buffer is based on, if
 * there is one.
 * <p>
 * The offset is the index of the array which corresponds to the zero
 * position of the buffer.
 *
 * @return the offset of the byte array which this buffer is based on.
 * @exception ReadOnlyBufferException
 *                if this buffer is based on a read-only array.
 * @exception UnsupportedOperationException
 *                if this buffer is not based on an array.
 */
@Override public final int arrayOffset() {
  return protectedArrayOffset();
}

代码示例来源:origin: thothbot/parallax

/** Returns the offset of the byte array which this buffer is based on, if there is one.
 * <p>
 * The offset is the index of the array which corresponds to the zero position of the buffer.
 * </p>
 * 
 * @return the offset of the byte array which this buffer is based on.
 * @exception ReadOnlyBufferException if this buffer is based on a read-only array.
 * @exception UnsupportedOperationException if this buffer is not based on an array.
 * @since Android 1.0 */
public final int arrayOffset () {
  return protectedArrayOffset();
}

代码示例来源:origin: dragome/dragome-sdk

/** Returns the offset of the byte array which this buffer is based on, if there is one.
 * <p>
 * The offset is the index of the array which corresponds to the zero position of the buffer.
 * </p>
 * 
 * @return the offset of the byte array which this buffer is based on.
 * @exception ReadOnlyBufferException if this buffer is based on a read-only array.
 * @exception UnsupportedOperationException if this buffer is not based on an array.
 * @since Android 1.0 */
public final int arrayOffset () {
  return protectedArrayOffset();
}

代码示例来源:origin: MobiVM/robovm

/**
 * Returns the offset of the byte array which this buffer is based on, if
 * there is one.
 * <p>
 * The offset is the index of the array which corresponds to the zero
 * position of the buffer.
 *
 * @return the offset of the byte array which this buffer is based on.
 * @exception ReadOnlyBufferException
 *                if this buffer is based on a read-only array.
 * @exception UnsupportedOperationException
 *                if this buffer is not based on an array.
 */
@Override public final int arrayOffset() {
  return protectedArrayOffset();
}

代码示例来源:origin: ibinti/bugvm

/**
 * Returns the offset of the byte array which this buffer is based on, if
 * there is one.
 * <p>
 * The offset is the index of the array which corresponds to the zero
 * position of the buffer.
 *
 * @return the offset of the byte array which this buffer is based on.
 * @exception ReadOnlyBufferException
 *                if this buffer is based on a read-only array.
 * @exception UnsupportedOperationException
 *                if this buffer is not based on an array.
 */
@Override public final int arrayOffset() {
  return protectedArrayOffset();
}

代码示例来源:origin: com.jtransc/jtransc-rt

@Override
public final int arrayOffset() {
  return protectedArrayOffset();
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Returns the offset of the byte array which this buffer is based on, if
 * there is one.
 * <p>
 * The offset is the index of the array which corresponds to the zero
 * position of the buffer.
 *
 * @return the offset of the byte array which this buffer is based on.
 * @exception ReadOnlyBufferException
 *                if this buffer is based on a read-only array.
 * @exception UnsupportedOperationException
 *                if this buffer is not based on an array.
 */
@Override public final int arrayOffset() {
  return protectedArrayOffset();
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Returns the offset of the byte array which this buffer is based on, if
 * there is one.
 * <p>
 * The offset is the index of the array which corresponds to the zero
 * position of the buffer.
 *
 * @return the offset of the byte array which this buffer is based on.
 * @exception ReadOnlyBufferException
 *                if this buffer is based on a read-only array.
 * @exception UnsupportedOperationException
 *                if this buffer is not based on an array.
 */
@Override public final int arrayOffset() {
  return protectedArrayOffset();
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Returns the offset of the byte array which this buffer is based on, if
 * there is one.
 * <p>
 * The offset is the index of the array which corresponds to the zero
 * position of the buffer.
 *
 * @return the offset of the byte array which this buffer is based on.
 * @exception ReadOnlyBufferException
 *                if this buffer is based on a read-only array.
 * @exception UnsupportedOperationException
 *                if this buffer is not based on an array.
 */
@Override public final int arrayOffset() {
  return protectedArrayOffset();
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Returns the offset of the byte array which this buffer is based on, if
 * there is one.
 * <p>
 * The offset is the index of the array which corresponds to the zero
 * position of the buffer.
 *
 * @return the offset of the byte array which this buffer is based on.
 * @exception ReadOnlyBufferException
 *                if this buffer is based on a read-only array.
 * @exception UnsupportedOperationException
 *                if this buffer is not based on an array.
 */
@Override public final int arrayOffset() {
  return protectedArrayOffset();
}

相关文章