Interface IMediaBuffer
-
- All Known Implementing Classes:
PtrMediaBuffer
public interface IMediaBufferDefines the API of Microsoft's IMediaBuffer interface (referred to as unmanaged) and allows implementing similar abstractions on the Java side (referred to as managed).- Author:
- Lyubomir Marinov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intGetLength()intGetMaxLength()intpop(byte[] buffer, int offset, int length)intpush(byte[] buffer, int offset, int length)intRelease()voidSetLength(int length)
-
-
-
Method Detail
-
GetLength
int GetLength() throws IOException- Throws:
IOException
-
GetMaxLength
int GetMaxLength() throws IOException- Throws:
IOException
-
pop
int pop(byte[] buffer, int offset, int length) throws IOException- Throws:
IOException
-
push
int push(byte[] buffer, int offset, int length) throws IOException- Throws:
IOException
-
Release
int Release()
-
SetLength
void SetLength(int length) throws IOException- Throws:
IOException
-
-