Bouncy Castle Cryptography Library 1.81

org.bouncycastle.util.io
Class LimitedBuffer

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.bouncycastle.util.io.LimitedBuffer

public class LimitedBuffer
extends java.io.OutputStream


Constructor Summary
LimitedBuffer(int limit)
           
 
Method Summary
 int copyTo(byte[] b, int off)
           
 int limit()
           
 void reset()
           
 int size()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close, flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LimitedBuffer

public LimitedBuffer(int limit)
Method Detail

copyTo

public int copyTo(byte[] b,
                  int off)

limit

public int limit()

reset

public void reset()

size

public int size()

write

public void write(int b)

write

public void write(byte[] b)

write

public void write(byte[] b,
                  int off,
                  int len)

Bouncy Castle Cryptography Library 1.81