Android Question Character to Binary

Discussion in 'Android Questions' started by iamcrazy, Feb 23, 2015.

  1. iamcrazy

    iamcrazy New Member

    i have not purchased the full verson so I do not have access to any libraries. My question is how to convert a single character to a binary combination.

    Is it possible without a library?

  2. Erel

    Erel Administrator Staff Member Licensed User

    You can convert a string or a single character with:
    Dim s As String = "a"
    Dim b() As Byte = s.GetBytes("UTF8")
  3. iamcrazy

    iamcrazy New Member

    Thanks, worked great!
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice