docs: public static byte[] enc(Pointer _s, final int _len) {
          int len = _len;
          int i = 0;
          byte padding = (byte)'=';
          byte[] buff = new byte[1 + (len*4)/3 + 6];
          byte[] sb = _s.buffer;
          int s = _s.start;
  
          while(len >= 3) {
              buff[i++] = b64_table[077 & (sb[s] >> 2)];
              buff[i++] = b64_table[077 & (((sb[s] << 4) & 060) | ((sb[s+1] >> 4) & 017))];
              buff[i++] = b64_table[077 & (((sb[s+1] << 2) & 074) | ((sb[s+2] >> 6) & 03))];
              buff[i++] = b64_table[077 & sb[s+2]];
              s += 3;
              len -= 3;
          }
  
          if(len == 2) {
              buff[i++] = b64_table[077 & (sb[s] >> 2)];
              buff[i++] = b64_table[077 & (((sb[s] << 4) & 060) | ((sb[s+1] >> 4) & 017))];
              buff[i++] = b64_table[077 & (((sb[s+1] << 2) & 074) | ((0 >> 6) & 03))];
              buff[i++] = padding;
          } else if(len == 1) {
              buff[i++] = b64_table[077 & (sb[s] >> 2)];
              buff[i++] = b64_table[077 & (((sb[s] << 4) & 060) | ((0 >> 4) & 017))];
              buff[i++] = padding;
              buff[i++] = padding;
          }
  
          buff[i++] = '\n';
  
          buff[i] = 0;
  
          return buff;
      }