update interfaces of two buffer classes, use void * instead of char *, and remove default function parameter to avoid ambiguous invocation
add basic unit test for SegmentalByteBuffer