Add toByte/sliceToByte and fix sign extension in toShort/sliceToShort
Merge branch 'series/1.0.x'