First public contribution.
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 #include <3gplibrary/mp4config.h>
20 #include <3gplibrary/mp4lib.h>
22 mp4_i32 addData(MP4HandleImp handle, mp4_u8 *buffer, mp4_u32 bytestowrite);
23 mp4_u32 getBufferedBytes(MP4HandleImp handle);
24 mp4_u32 getCumulativeBufferedBytes(MP4HandleImp handle);
25 mp4_i32 readData(MP4HandleImp handle, mp4_u8 *buffer, mp4_u32 bytestoread);
26 mp4_i32 peekData(MP4HandleImp handle, mp4_u8 *buffer, mp4_u32 bytestoread);
27 mp4_i32 discardData(MP4HandleImp handle, mp4_i32 bytesToDiscard);