/// <summary> /// Writes a single byte to an unmanaged stream. /// </summary> protected unsafe int WriteByte(FreeImageIO io, fi_handle handle, byte value) { return((int)io.writeProc(new IntPtr(&value), 1, 1, handle)); }