Package | Description |
---|---|
com.microsoft.azure.storage.core |
FOR INTERNAL USE ONLY.
|
Modifier and Type | Method and Description |
---|---|
static StreamMd5AndLength |
Utility.analyzeStream(InputStream sourceStream,
long writeLength,
long abandonLength,
boolean rewindSourceStream,
boolean calculateMD5)
Determines the size of an input stream, and optionally calculates the MD5 hash for the stream.
|
protected StreamMd5AndLength |
StorageRequest.getCurrentDescriptor() |
static StreamMd5AndLength |
Utility.writeToOutputStream(InputStream sourceStream,
OutputStream outStream,
long writeLength,
boolean rewindSourceStream,
boolean calculateMD5,
OperationContext opContext,
RequestOptions options)
Reads data from an input stream and writes it to an output stream, calculates the length of the data written, and
optionally calculates the MD5 hash for the data.
|
static StreamMd5AndLength |
Utility.writeToOutputStream(InputStream sourceStream,
OutputStream outStream,
long writeLength,
boolean rewindSourceStream,
boolean calculateMD5,
OperationContext opContext,
RequestOptions options,
Boolean shouldFlush)
Reads data from an input stream and writes it to an output stream, calculates the length of the data written, and
optionally calculates the MD5 hash for the data.
|
static StreamMd5AndLength |
Utility.writeToOutputStream(InputStream sourceStream,
OutputStream outStream,
long writeLength,
boolean rewindSourceStream,
boolean calculateMD5,
OperationContext opContext,
RequestOptions options,
Boolean shouldFlush,
StorageRequest<?,?,Integer> request,
StreamMd5AndLength descriptor)
Reads data from an input stream and writes it to an output stream, calculates the length of the data written, and
optionally calculates the MD5 hash for the data.
|
Modifier and Type | Method and Description |
---|---|
protected void |
StorageRequest.setCurrentDescriptor(StreamMd5AndLength currentDescriptor) |
void |
StorageRequest.validateStreamWrite(StreamMd5AndLength descriptor)
Validate the written stream length when length is provided.
|
static StreamMd5AndLength |
Utility.writeToOutputStream(InputStream sourceStream,
OutputStream outStream,
long writeLength,
boolean rewindSourceStream,
boolean calculateMD5,
OperationContext opContext,
RequestOptions options,
Boolean shouldFlush,
StorageRequest<?,?,Integer> request,
StreamMd5AndLength descriptor)
Reads data from an input stream and writes it to an output stream, calculates the length of the data written, and
optionally calculates the MD5 hash for the data.
|
Copyright © 2019. All rights reserved.