Constructor and Description |
---|
ByteRangeUtils() |
Modifier and Type | Method and Description |
---|---|
static ArrayList<byte[]> |
copyToNewArrays(Collection<ByteRange> ranges) |
static ArrayList<ByteRange> |
fromArrays(Collection<byte[]> arrays) |
static int |
numEqualPrefixBytes(ByteRange left,
ByteRange right,
int rightInnerOffset) |
static void |
write(OutputStream os,
ByteRange byteRange) |
static void |
write(OutputStream os,
ByteRange byteRange,
int byteRangeInnerOffset) |
public static int numEqualPrefixBytes(ByteRange left, ByteRange right, int rightInnerOffset)
public static ArrayList<byte[]> copyToNewArrays(Collection<ByteRange> ranges)
public static ArrayList<ByteRange> fromArrays(Collection<byte[]> arrays)
public static void write(OutputStream os, ByteRange byteRange) throws IOException
IOException
public static void write(OutputStream os, ByteRange byteRange, int byteRangeInnerOffset) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.