mbeckerle commented on a change in pull request #30: Performance improvements 
around FormatInfo change.
URL: https://github.com/apache/incubator-daffodil/pull/30#discussion_r163695897
 
 

 ##########
 File path: 
daffodil-io/src/main/scala/edu/illinois/ncsa/daffodil/io/NonByteSizeCharset.scala
 ##########
 @@ -42,27 +42,64 @@ import java.nio.charset.CoderResult
 import java.nio.charset.CodingErrorAction
 import edu.illinois.ncsa.daffodil.util.MaybeInt
 import edu.illinois.ncsa.daffodil.util.Maybe
+import java.nio.charset.Charset
+import edu.illinois.ncsa.daffodil.processors.charset.NBitsWidthCharset
 
 /**
  * By "non byte sized" we mean some number of bits less than 8.
  */
-trait NonByteSizeCharset {
-  def bitWidthOfACodeUnit: Int // in units of bits
-  def requiredBitOrder: BitOrder
+final class NonByteSizeCharset(val bitsCharset: NBitsWidthCharset, name: 
String, decodeString: String,
 
 Review comment:
   Can this be named more clearly...
   
   NBitsWidth_BitsCharset
   NBitsWidth_JavaCharset
   
   To make it clear which one is our interface, and which is the java interface.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to