LengthLimitingStream Class
- java.
lang. Object - OutputStream
- BlobOutputStream
- com.
microsoft. azure. storage. blob. LengthLimitingStream
- com.
public class LengthLimitingStream extends BlobOutputStream
Constructor Summary
Constructor | Description | |
---|---|---|
LengthLimitingStream(OutputStream wrappedStream, long start, Long length) |
Method Summary
Modifier and Type | Method and Description |
---|---|
void | close() |
void | flush() |
void | write(byte[] data, int offset, int length) |
void | write(InputStream sourceStream, long writeLength) |
Inherited Members
Constructor Details
LengthLimitingStream
public LengthLimitingStream(OutputStream wrappedStream, long start, Long length)
Parameters:
wrappedStream
start
length
Method Details
close
public void close()
flush
public void flush()
write
public void write(byte[] data, int offset, int length)
Parameters:
data
offset
length
write
public void write(InputStream sourceStream, long writeLength)
Parameters:
sourceStream
writeLength
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for