From what I read it should be:
Returns
- (RawData) the leftmost len bytes of this RawData
Returns
- (integer) the leftmost len bytes of this RawData
https://wiki.actiona.tools/doku.php?id= ... data#right
.mid looks to be correct:
Returns
- (RawData) the new RawData
Not entirely sure, so I have not modified the documentation.