C# Class GitSharp.Core.Util.TemporaryBuffer

A fully buffered output stream using local disk storage for large data. Initially this output stream buffers to memory, like ByteArrayOutputStream might do, but it shifts to using an on disk temporary file if the output gets too large. The content of this buffered stream may be sent to another OutputStream only After this stream has been properly closed by close().
Inheritance: Stream
Afficher le fichier Open project: jagregory/GitSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
DEFAULT_IN_CORE_LIMIT int

Méthodes publiques

Méthode Description
Dispose ( ) : void
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
TemporaryBuffer ( ) : System
ToArray ( ) : byte[]
Write ( byte buffer, int offset, int count ) : void
close ( ) : void
copy ( Stream @in ) : void
destroy ( ) : void
write ( byte bytes ) : void
write ( byte b, int off, int len ) : void
write ( int b ) : void
writeTo ( Stream os, ProgressMonitor pm ) : void

Private Methods

Méthode Description
last ( ) : GitSharp.Core.Util.Block
reachedInCoreLimit ( ) : bool

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

TemporaryBuffer() public méthode

public TemporaryBuffer ( ) : System
Résultat System

ToArray() public méthode

public ToArray ( ) : byte[]
Résultat byte[]

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

close() public méthode

public close ( ) : void
Résultat void

copy() public méthode

public copy ( Stream @in ) : void
@in Stream
Résultat void

destroy() public méthode

public destroy ( ) : void
Résultat void

write() public méthode

public write ( byte bytes ) : void
bytes byte
Résultat void

write() public méthode

public write ( byte b, int off, int len ) : void
b byte
off int
len int
Résultat void

write() public méthode

public write ( int b ) : void
b int
Résultat void

writeTo() public méthode

public writeTo ( Stream os, ProgressMonitor pm ) : void
os Stream
pm ProgressMonitor
Résultat void

Property Details

DEFAULT_IN_CORE_LIMIT public_oe static_oe property

public static int DEFAULT_IN_CORE_LIMIT
Résultat int