Functions

cbf_byte_offset.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include "cbf_byte_offset.h"
Include dependency graph for cbf_byte_offset.c:

Go to the source code of this file.

Functions

int cbf_compress_byte_offset (void *source, size_t elsize, int elsign, size_t nelem, unsigned int compression, cbf_file *file, size_t *compressedsize, int *storedbits)
int cbf_decompress_byte_offset (void *destination, size_t elsize, int elsign, size_t nelem, size_t *nelem_read, unsigned int compression, cbf_file *file)

Function Documentation

int cbf_compress_byte_offset ( void *  source,
size_t  elsize,
int  elsign,
size_t  nelem,
unsigned int  compression,
cbf_file file,
size_t *  compressedsize,
int *  storedbits 
)

Definition at line 134 of file cbf_byte_offset.c.

Referenced by cbf_compress().

{
  fprintf (stderr,
      "\n*** Byte-Offset Algorithm Not Implemented Yet -- Abort ***\n");

  exit (1);

  return 1;
}
int cbf_decompress_byte_offset ( void *  destination,
size_t  elsize,
int  elsign,
size_t  nelem,
size_t *  nelem_read,
unsigned int  compression,
cbf_file file 
)

Definition at line 154 of file cbf_byte_offset.c.

Referenced by cbf_decompress().

{
  fprintf (stderr,
      "\n*** Byte-Offset Algorithm Not Implemented Yet -- Abort ***\n");

  exit (1);

  return 1;
}