c# Programming Glossary: binr
Decrypting with private key from .pem file in c# with .NET crypto library http://stackoverflow.com/questions/1162504/decrypting-with-private-key-from-pem-file-in-c-sharp-with-net-crypto-library key MemoryStream mem new MemoryStream privkey BinaryReader binr new BinaryReader mem wrap Memory Stream with BinaryReader for.. byte bt 0 ushort twobytes 0 int elems 0 try twobytes binr.ReadUInt16 if twobytes 0x8130 data read as little endian order.. endian order actual data order for Sequence is 30 81 binr.ReadByte advance 1 byte else if twobytes 0x8230 binr.ReadInt16..
|