Question TLV Format

Sanu1008

New member
Joined
Nov 27, 2021
Messages
1
Programming Experience
3-5
Hi,
Any one can you help me to achieve TLV encoding to Base 64 in Vab.net
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,903
Location
Sydney, Australia
Programming Experience
10+
Base-64 is a way to encode bytes. What those bytes represent is irrelevant. Just read the bytes and then call Convert.ToBase64String. If there is too much data to read into a single array then you can use the ToBase64Transform class to do it in chunks. You could read data in chunks from a FileStream and transform each chunk as you go.
 
Top