By on 3/30/2009 5:12 PM ()

Thx! Taking the code page into account, it would be

1
2
let getAndDecodeString (codePage : int) (bytes : byte[]) offs len =  
    (System.Text.UTF8Encoding.GetEncoding codePage).GetString bytes.[offs..offs+len-1]
By on 3/30/2009 6:50 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper