接口 ByteSequence

所有已知实现类:
ByteArrayBuffer

public interface ByteSequence

Description:

Title:首亨软件 - TSS/CRM等

从以下版本开始:
Aug 16, 2012
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final ByteSequence
    An empty byte sequence.
  • 方法概要

    修饰符和类型
    方法
    说明
    byte
    byteAt(int index)
     
    int
    Returns the length of this byte sequence.
    byte[]
    Copies the contents of this byte sequence into a newly allocated byte array and returns that array.
  • 字段详细资料

    • EMPTY

      static final ByteSequence EMPTY
      An empty byte sequence.
  • 方法详细资料

    • length

      int length()
      Returns the length of this byte sequence.
      返回:
      the number of bytes in this sequence.
    • byteAt

      byte byteAt(int index)
    • toByteArray

      byte[] toByteArray()
      Copies the contents of this byte sequence into a newly allocated byte array and returns that array.
      返回:
      a byte array holding a copy of this byte sequence.