public class Header extends Object
Modifier and Type | Field and Description |
---|---|
static byte[] |
FOURCC_FREE |
Modifier and Type | Method and Description |
---|---|
static Header |
createHeader(String fourcc,
long size) |
boolean |
equals(Object obj) |
static int |
estimateHeaderSize(int size) |
long |
getBodySize() |
String |
getFourcc() |
long |
getSize() |
int |
hashCode() |
long |
headerSize() |
static Header |
newHeader(String fourcc,
long size,
boolean lng) |
static Header |
read(ByteBuffer input) |
byte[] |
readContents(InputStream di) |
void |
setBodySize(int length) |
void |
skip(InputStream di) |
void |
write(ByteBuffer out) |
void |
writeChannel(SeekableByteChannel output) |
public Header(String fourcc)
public static Header read(ByteBuffer input)
public void skip(InputStream di) throws IOException
IOException
public long headerSize()
public static int estimateHeaderSize(int size)
public byte[] readContents(InputStream di) throws IOException
IOException
public String getFourcc()
public long getBodySize()
public void setBodySize(int length)
public void write(ByteBuffer out)
public void writeChannel(SeekableByteChannel output) throws IOException
IOException
public long getSize()
Copyright © 2019. All rights reserved.