TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS | Compress (IN VOID *SrcBuffer, IN UINT64 SrcSize, IN VOID *DstBuffer, IN OUT UINT64 *DstSize) |
Header file for compression routine.
Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Compress.h.
EFI_STATUS Compress | ( | IN VOID * | SrcBuffer, |
IN UINT64 | SrcSize, | ||
IN VOID * | DstBuffer, | ||
IN OUT UINT64 * | DstSize | ||
) |
The compression routine.
[in] | SrcBuffer | The buffer containing the source data. |
[in] | SrcSize | Number of bytes in SrcBuffer. |
[in] | DstBuffer | The buffer to put the compressed image in. |
[in,out] | DstSize | On input the size (in bytes) of DstBuffer, on return the number of bytes placed in DstBuffer. |
EFI_SUCCESS | The compression was successful. |
EFI_BUFFER_TOO_SMALL | The buffer was too small. DstSize is required. |
Definition at line 1324 of file Compress.c.