lib/keystores/java_key_store.rb
# Java uses DataInputStream#readUTF which does a bunch of crap to read a modified UTF-8 format
# TODO, this is a bit of a hack, but seems to work fine. We just assume we get a string out of the array
Java uses DataInputStream#readUTF which does a bunch of crap to read a modified UTF-8 format
TODO, this is a bit of a hack, but seems to work fine. We just assume we get a string out of the array
Java uses DataInputStream#readUTF which does a bunch of crap to read a modified UTF - 8 format TODO this is a bit of a hack but seems to work fine . We just assume we get a string out of the array
def read_utf!(bytes, md)
      utf_length = read_unsigned_short!(bytes, md)
      bytes = bytes.slice!(0..(utf_length - 1))
      md << bytes
      bytes
    end
def read_utf! ( bytes , md ) utf_length = read_unsigned_short! ( bytes , md ) bytes = bytes . slice! ( 0 .. ( utf_length - 1 ) ) md << bytes bytes end
Java uses DataInputStream#readUTF which does a bunch of crap to read a modified UTF-8 format
TODO, this is a bit of a hack, but seems to work fine.
Java uses DataInputStream#readUTF which does a bunch of crap to read a modified UTF - 8 format TODO this is a bit of a hack but seems to work fine .
bytes
<not_specific>
md
<not_specific>