[ 
https://issues.apache.org/jira/browse/HBASE-13404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14395438#comment-14395438
 ] 

Apekshit Sharma commented on HBASE-13404:
-----------------------------------------

@stack I just thought adding missing fns for vint/vlong would be good idea and 
will make Bytes more complete library (realized while fixing HBASE-6919). Now 
that you have given me context, i guess this change won't be very useful.
Although I already have the patch ready, I'll leave the call to continue/abort 
to you (attaching patch for your reference).

> Add/Refactor vint and vlong related functions in Bytes
> ------------------------------------------------------
>
>                 Key: HBASE-13404
>                 URL: https://issues.apache.org/jira/browse/HBASE-13404
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Apekshit Sharma
>            Priority: Minor
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Bytes has these 4 functions for a lot of data types, might make sense to add 
> missing ones/fix existing ones related to vint and vlong.
> 1) read X from byte[]
> 2) read X from offset in byte[]
> 3) put X in byte[] at a given offset
> 4) return byte[] for X
> Also add tests for these new/changed functions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to