public T ReadVar <T>(uint max) { try { return(CacheReadVar <T>(max)); } catch (SystemException ex) { throw MapException.ReadVar(typeof(T), max, ex); } }
public T ReadFix <T>(uint len) { try { return(CacheReadFix <T>(len)); } catch (SystemException ex) { throw MapException.ReadFix(typeof(T), len, ex); } }
public T Read <T>() { try { return(CacheRead <T>()); } catch (SystemException ex) { throw MapException.ReadOne(typeof(T), ex); } }
public void WriteVar <T>(uint max, T item) { try { CacheWriteVar(max, item); } catch (SystemException ex) { throw MapException.WriteVar(typeof(T), max, ex); } }
public void WriteFix <T>(uint len, T item) { try { CacheWriteFix(len, item); } catch (SystemException ex) { throw MapException.WriteFix(typeof(T), len, ex); } }
public void Write <T>(T item) { try { CacheWrite(item); } catch (SystemException ex) { throw MapException.WriteOne(typeof(T), ex); } }