Scalabium Software

SMExport advertising
Knowledge for your independence'.
Home Delphi and C++Builder tips


#4: read the number from buffer

1. read from stream:

  byte[] arrData = {0, 0, 0, 0, 0, 0, 0xF0, 0xBF}; 
  Double dbl; 
  MemoryStream ms = new MemoryStream(); 
  ms.Write(arrData, 0, 8); 
  ms.Position = 0; 
  BinaryReader br = new BinaryReader(ms); 
  dbl = br.ReadDouble();

2. copy/convert from buffer:

  dbl = BitConverter.ToDouble(arrData, 0);


Published: December 16, 2009

See also
 
ABA Spreadsheet Convert
Paradox Viewer
Paradox Password Recovery
Database Information Manager
Protected Storage Viewer
MAPIMail
Excel Web-stream
Word Web-stream
Excel Reader (dll)
Metafile Convert
 
 


Contact to webmaster

 

Borland Software Code Gear Scalabium Delphi tips

Copyright© 1998-2025, Scalabium Software. All rights reserved.
webmaster@scalabium.com

SMExport/SMImport suites