I guess there must be a good reason to have two separate methods for extracting the long value: one directly from bytes and one after conversion to String. Nevertheless it would help if we document this reason. Also, one might consider combining these two methods as most of the body are the same.