package com.metaio.sdk.jni;

public class ByteBuffer
{
  protected boolean swigCMemOwn;
  private long swigCPtr;

  public ByteBuffer()
  {
    this(MetaioSDKJNI.new_ByteBuffer__SWIG_0(), true);
  }

  public ByteBuffer(long paramLong, boolean paramBoolean)
  {
    this.swigCMemOwn = paramBoolean;
    this.swigCPtr = paramLong;
  }

  public ByteBuffer(ByteBuffer paramByteBuffer)
  {
    this(MetaioSDKJNI.new_ByteBuffer__SWIG_2(getCPtr(paramByteBuffer), paramByteBuffer), true);
  }

  public ByteBuffer(byte[] paramArrayOfByte, int paramInt)
  {
    this(MetaioSDKJNI.new_ByteBuffer__SWIG_1(paramArrayOfByte, paramInt), true);
  }

  public static long getCPtr(ByteBuffer paramByteBuffer)
  {
    if (paramByteBuffer == null)
      return 0L;
    return paramByteBuffer.swigCPtr;
  }

  public void delete()
  {
    try
    {
      if (this.swigCPtr != 0L)
      {
        if (this.swigCMemOwn)
        {
          this.swigCMemOwn = false;
          MetaioSDKJNI.delete_ByteBuffer(this.swigCPtr);
        }
        this.swigCPtr = 0L;
      }
      return;
    }
    finally
    {
    }
  }

  protected void finalize()
  {
    delete();
  }

  public byte[] getBuffer()
  {
    return MetaioSDKJNI.ByteBuffer_getBuffer(this.swigCPtr, this);
  }

  public int getLength()
  {
    return MetaioSDKJNI.ByteBuffer_length_get(this.swigCPtr, this);
  }

  public void release()
  {
    MetaioSDKJNI.ByteBuffer_release(this.swigCPtr, this);
  }

  public void setLength(int paramInt)
  {
    MetaioSDKJNI.ByteBuffer_length_set(this.swigCPtr, this, paramInt);
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.metaio.sdk.jni.ByteBuffer
 * JD-Core Version:    0.6.2
 */