public static Object bgl_close_mmap( mmap o ) { o.close(); return BTRUE; }
public static void BGL_MMAP_WP_SET( mmap o, long i ) { o.wp = i; o.bw.Seek( (long)i, 0 ); }
public static Object bgl_sync_mmap( mmap o ) { return o; }
public static Object BGL_MMAP_SET( mmap o, long i, int c ) { o.put( i, c ); return o; }
public static long BGL_MMAP_WP_GET( mmap o ) { return o.wp; }
public static void BGL_MMAP_RP_SET( mmap o, long i ) { o.rp = i; o.br.Seek( i, 0 ); }
public static long BGL_MMAP_RP_GET( mmap o ) { return o.rp; }
public static int BGL_MMAP_REF( mmap o, long i ) { return o.get( i ); }
public static Object BGL_MMAP_NAME( mmap o ) { return o.name; }
public static long BGL_MMAP_LENGTH( mmap o ) { return o.len; }