Added getResource() methods that take byte arrays to allow correct
conversion of text to bytes using an explicit encoding (this must be
performed by the caller of getResource()).
Tagged getResource() methods that take strings as deprecated because
they use the platform default encoding.
Regenerated CS with current SDK