public override int GetByteCount(char[] chars, int index, int count, bool flush)
 {
     return(UnixEncoding.InternalGetByteCount(chars, index, count, this.leftOver, flush));
 }
 public override int GetByteCount(char[] chars, int index, int count)
 {
     return(UnixEncoding.InternalGetByteCount(chars, index, count, 0, true));
 }