Class IOStreamParcel

java.lang.Object
icyllis.modernui.util.Parcel
icyllis.modernui.util.IOStreamParcel
All Implemented Interfaces:
AutoCloseable

@Internal public class IOStreamParcel extends Parcel implements AutoCloseable
  • Constructor Details

  • Method Details

    • ensureCapacity

      protected void ensureCapacity(int len)
      Overrides:
      ensureCapacity in class Parcel
    • position

      public void position(int newPosition)
      Overrides:
      position in class Parcel
    • limit

      public void limit(int newLimit)
      Overrides:
      limit in class Parcel
    • writeBytes

      public void writeBytes(byte[] src, int off, int len)
      Overrides:
      writeBytes in class Parcel
    • writeByte

      public void writeByte(int v)
      Description copied from class: Parcel
      Write a byte value into the parcel.
      Overrides:
      writeByte in class Parcel
    • writeShort

      public void writeShort(int v)
      Description copied from class: Parcel
      Write a short integer value into the parcel.
      Overrides:
      writeShort in class Parcel
    • writeInt

      public void writeInt(int v)
      Description copied from class: Parcel
      Write an integer value into the parcel.
      Overrides:
      writeInt in class Parcel
    • writeLong

      public void writeLong(long v)
      Description copied from class: Parcel
      Write a long integer value into the parcel.
      Overrides:
      writeLong in class Parcel
    • readBytes

      public void readBytes(byte[] dst, int off, int len)
      Overrides:
      readBytes in class Parcel
    • readByte

      public byte readByte()
      Overrides:
      readByte in class Parcel
    • readShort

      public short readShort()
      Overrides:
      readShort in class Parcel
    • readInt

      public int readInt()
      Overrides:
      readInt in class Parcel
    • readLong

      public long readLong()
      Overrides:
      readLong in class Parcel
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Throws:
      IOException