Versions in this module Expand all Collapse all v0 v0.3.2 Jul 4, 2023 Changes in this version + func DecoderCopyHeaderData(handle unsafe.Pointer, destBuffer unsafe.Pointer) error + func DecoderCopyOutputData(handle unsafe.Pointer, destBuffer unsafe.Pointer) error + func DecoderGetHeaderRequest(handle unsafe.Pointer) (int, error) + func DecoderGetOutputRequest(handle unsafe.Pointer) (int, error) + func DecoderGetSourceRequest(handle unsafe.Pointer) (int, int, error) + func DecoderGetStreamError(handle unsafe.Pointer) error + func DecoderInit(handle unsafe.Pointer, blockSizeKB int, fileId string, hasSource bool) error + func DecoderProvideInputData(handle unsafe.Pointer, data unsafe.Pointer, dataLen int, isFinal bool) error + func DecoderProvideSourceData(handle unsafe.Pointer, data unsafe.Pointer, dataLen int) error + func EncoderCopyOutputData(handle unsafe.Pointer, destBuffer unsafe.Pointer) error + func EncoderGetOutputRequest(handle unsafe.Pointer) (int, error) + func EncoderGetSourceRequest(handle unsafe.Pointer) (int, int, error) + func EncoderGetStreamError(handle unsafe.Pointer) error + func EncoderInit(handle unsafe.Pointer, blockSizeKB int, fileId string, hasSource bool) error + func EncoderProvideInputData(handle unsafe.Pointer, data unsafe.Pointer, dataLen int, isFinal bool) error + func EncoderProvideSourceData(handle unsafe.Pointer, data unsafe.Pointer, dataLen int) error + func EncoderSetHeader(handle unsafe.Pointer, data unsafe.Pointer, dataLen int) error + func FreeDecoder(handle unsafe.Pointer) error + func FreeEncoder(handle unsafe.Pointer) error + func NewDecoder() (unsafe.Pointer, error) + func NewEncoder() (unsafe.Pointer, error) + type XdeltaError int32 + const XdeltaError_ArgumentNull + const XdeltaError_ArgumentOutOfRange + const XdeltaError_GetSourceBlock + const XdeltaError_GotHeader + const XdeltaError_Input + const XdeltaError_Internal + const XdeltaError_InvalidConfig + const XdeltaError_InvalidInput + const XdeltaError_NoSecondCompression + const XdeltaError_NotImplemented + const XdeltaError_OK + const XdeltaError_Output + const XdeltaError_SeeGoError + const XdeltaError_TooFarBack + const XdeltaError_WindowFinish + const XdeltaError_WindowStart + func (e XdeltaError) Error() string + type XdeltaState int32 + const XdeltaState_GETSRCBLK + const XdeltaState_GOTHEADER + const XdeltaState_INPUT + const XdeltaState_INTERNAL + const XdeltaState_INVALID + const XdeltaState_INVALID_INPUT + const XdeltaState_NOSECOND + const XdeltaState_OUTPUT + const XdeltaState_SeeGoError + const XdeltaState_TOOFARBACK + const XdeltaState_UNIMPLEMENTED + const XdeltaState_WINFINISH + const XdeltaState_WINSTART + func DecoderProcess(handle unsafe.Pointer) (XdeltaState, error) + func EncoderProcess(handle unsafe.Pointer) (XdeltaState, error) + func (e XdeltaState) String() string